3 ms·
Next the article claims that there is a "curious lack of concrete examples" of purely functional programs. This is patently untrue: there are plenty of great Ha
by batista 15y ago
Next the article claims that there is a "curious lack of concrete examples" of purely functional programs. This is patently untrue: there are plenty of great Haskell programs about on the internet. The canonical example is XMonad, which is particularly apt because it is short enough to read (< 3000 lines).
He probably means USEFUL examples, of what one is likely to build. No one will write an XMonad.
And XMonad is not a product -- something users want and that solves a business need. It's a language's innards, a developer tool at the most basic.
- pnathan 15y agoXMonad is a tiling window manager. It is written in Haskell.
- batista 15y agoOh, my bad, was thinking he was referring to some the available built in monads in Haskell implementation. Still, the example is an obscure Window Manager? And a tiling one, at that? Not the premier example of what he asks for, end user successful complicated software that has had to mature and deal with lots of real world corner cases, bugs etc.
- tikhonj 15y agoIf anything, a tiling window manager is exactly that sort of software: it has to please a wide variety of extremely picky power users and has to deal with tons of corner cases--weird programs (the GIMP), weird layouts, multiple monitors, panels...etc. On top of that, it has to work well with an absurd amount of customization. The fact that XMonad manages all this with so little code is particularly impressive.