News for hackers. Stuff that matters.
Re:Functional Thinking after OO by eru on Tuesday March 15, 2011 @02:04PM (#2328651)
With error handling in Haskell your code would look like

   getData = fetchDataFromSource =<< validateData =<< ProcessData
By the way, the original getData with (.) is backwards. It should be:

  getData = ProcessData . validateData . fetchDataFromSource

There are no comments on this comment yet.