[Haskell-cafe] Renaming constructors for readability

Henning Thielemann lemming at henning-thielemann.de
Tue Nov 13 17:44:30 EST 2007


On Tue, 13 Nov 2007, Dougal Stanton wrote:

> -- int a = 3;
> -- int *pa = &a;
> ampersand :: t -> Pointer t
> ampersand a = Just a

What's bad about using 'ampersand' function as replacement for the
constructor 'Just'?


More information about the Haskell-Cafe mailing list