[Haskell-cafe] APIs (was: Unexported functions are evil)

ajb at spamcop.net ajb at spamcop.net
Thu May 19 17:20:53 EDT 2005


G'day all.

Quoting Jérémy Bobbio <jeremy.bobbio at etu.upmc.fr>:

> One of the best bad example is the use of boolean as arguments.

Oh, yes.  That's a pet peeve of mine.  About 99% of boolean arguments
should be meaningful two-valued enumerated types.  It's literally a
one-liner to create such an enumerated type, so there's no excuse.

Cheers,
Andrew Bromage


More information about the Haskell-Cafe mailing list