4 ms·
With error handling in Haskell your code would look like getData = fetchDataFromSource =<< validateData =<< ProcessData By the way, the original getData wi
by eru 16y ago
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