Saturday, 7 September 2013

Haskell: What would be the best name for :: a?

Haskell: What would be the best name for :: a?

As you know, there is only one thing of type a.
Masters of academic lore have long sung to the praise of undefined, and
for aeons nobody had doubted the brevity and clarity of this well-chosen
name, for it was clear that none would dare to open the box that is a.
But times were changing, and in hidden forges convenience befell those
that once were wary ...
Here comes the fresh industrial Pragmatoyougster in his ë-shirt, kissing
awake his typesafe program beauty into her coming enterprise life, but ...
*** Exception: Prelude.undefined
What monster, sad parody of useful error messages, scourge of programmer
land!



One could argue that undefined sounds too nice for the use in the real
world, easily offering itself as the obvious expression candidate too
often. fib (-1) = undefined, hey, that sounds right!
If you were able to give :: a a new name right now, to prevent people from
using it, what would it be?
Upvotes for the best suggestions!

No comments:

Post a Comment