[Haskell-cafe] deriving

Dan Weston westondan at imageworks.com
Mon Apr 7 15:15:13 EDT 2008


To answer your second question (which everyone else ignored):

Yes. A different keyword might have been more descriptive, such as 

There is always a struggle between concision [1] and descriptiveness in 
syntax. With short keywords, you pay up front. With longer keywords, 
there's no money down, but you have an endless monthly payment that gets 
really tedious after a while.


[1] Yes, I know that "conciseness" is the much more common and accepted 
word for this, but if we can say "precision", "decision", and 
"incision", then it seems foolish to not also use "concision". I will 
henceforth take on this quixotic quest to promote the use of "concision".

PR Stanley wrote:
> Hi
> data Bool = False | True
>   deriving (Eq, Or, Show, Read)
> Bool is an instance of Eq, Ord, Show and Read. It is derived form these 
> classes. If that is the meaning of the keyword deriving then wouldn't a 
> different keyword such as from or derivative or even derivation be 
> closer to the semantics of the concept?
> Discuss :-)
> Cheers,
> Paul
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list