[Haskell-cafe] Rewrite without parenthesis

Richard A. O'Keefe ok at cs.otago.ac.nz
Fri Aug 19 00:46:55 UTC 2016

On 19/08/16 12:03 AM, Carl Petersen wrote:
> How do you rewrite head (tail [1,2,3]) without parenthesis.


There are several ways to do this, including [1,2,3] !! 1.
The more important question is "why"?

More information about the Haskell-Cafe mailing list