Christian Sievers <[EMAIL PROTECTED]> wrote:

> I'm in trouble when it comes to @-patterns: is xs@(x:_) acceptable?

I'm sure I've used that, or something quite like it. xs is the whole list,
and x is its head.

> I've seen the (x:xs) (or whatever letter you want, BTW I'd use (f:fs)
> for a list of functions) convention written somewhere.

Its use is recommended in the Gentle Introduction to Haskell.

Craig




Reply via email to