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
- Haskell conventions (was: RE: how to write a simple ca... Jonathan King
- RE: Haskell conventions (was: RE: how to write a ... Frank A. Christoph
- Re: Haskell conventions (was: RE: how to write a ... Keith Wansbrough
- Re: Haskell conventions (was: RE: how to write a ... Jan Skibinski
- Re: Haskell conventions (was: RE: how to write a ... Jonathan King
- Re: Haskell conventions (was: RE: how to write a ... Craig Dickson
- Re: Haskell conventions (was: RE: how to write a ... Christian Sievers
- Re: Haskell conventions (was: RE: how to write a ... Jan Skibinski
- Re: Haskell conventions (was: RE: how to write a ... Craig Dickson
- Re: Haskell conventions (was: RE: how to write a ... Erik Meijer
- Re: Haskell conventions (was: RE: how to write a ... Fergus Henderson
- Re: Haskell conventions (was: RE: how to write a ... Friedrich Dominicus
- Re: Haskell conventions (was: RE: how to write a ... Jan de Wit
