Category Archives: scala

FP Error Handling

I would like to handle errors in pure FP (functional programming), something more idiomatic and easier to read than nested try/catch blocks. Let's say we have the following procedure, This is pretty straightforward. Given a list of numbers (represented as … Continue reading

Posted in scala, software eng.