Here is foldl implemented using foldr in PureScript, along with an example of using laziness to gain modularity:
http://try.purescript.org/?gist=63d81adf9f5257ffa4f576df2658...
http://try.purescript.org/?gist=63d81adf9f5257ffa4f576df2658...
No comments yet.