News for hackers. Stuff that matters.
Re:Destroy All Ifs – A Perspective from Functional Programming by eru on Sunday July 17, 2016 @02:25AM (#12109232)
In Haskell, realizing that data flow and control flow are of the same spirit and that data structures are control structures is one of the key epiphanies to be had.

This article mentions 'if' and 'Boolean'. Loops and lists are another example. (And for the same reason that most languages make such extensive use of loops, Haskell programs can often have a lot of lists.)

There are no comments on this comment yet.