Haskell-prime Digest, Vol 2, Issue 58
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Fri Feb 24 08:14:14 EST 2006
Axel Simon <A.Simon at kent.ac.uk> wrote:
> public:
> private:
>
> Furthermore, I'd like to propose to have a colon after public,
> private, default, infixl, infixr, infix, which frees all these
> identifiers for normal use as identifiers. There was a mail earlier on
> "Collection Framework" with a complaint that 'default' is a keyword.
Hmm, so how would I construct or pattern-match a list of such things?
f (default:defaults) = ...
Regards,
Malcolm
More information about the Haskell-prime
mailing list