Re:Learning Haskell – A Racket programmer's foray into the l...
by evincarofautumn on Wednesday March 11, 2015 @09:12PM
(#9188620)
In concatenative programming languages, composition is the default, and it makes point-free code much easier to write. In Factor, for example, you could write your example as:
That is, run both “matches” and “exact-matches” on both inputs, then take the difference of the results. If Haskell had functions of multiple parameters and results, 2bi’s type would look like this:
[ Parent
| on HN ]
There are no comments on this comment yet.