News for hackers. Stuff that matters.
Re:Dependently Typed Programming by chriswarbo on Tuesday July 01, 2014 @07:31PM (#7974142)
If the pipeline is constructed with fmap, <*> or >>= then the pipeline's constituents will only be applied to Right values. An error (a Left value) will short-circuit the pipeline and be returned as-is.

Alternatively, we could be more fancy and branch such that errors received their own, separate, processing (eg. logging).

Re:Dependently Typed Programming by seanmcdirmid on Tuesday July 01, 2014 @07:39PM (#7974182)
Cool. One of the advantages of null pointer exceptions is that you can break into the debugger when they happen. Masking them and continuing is absolutely what you don't want to do.