[Haskell-beginners] pattern x:xs

David Virebayre dav.vire+haskell at gmail.com
Fri Aug 12 08:50:32 CEST 2011


2011/8/11 Luca Ciciriello <luca_ciciriello at hotmail.com>:
> Is it possible to use the pattern (x:xs) using a parallel array [::]?

I don't know that you can do it this way but maybe the GHC extension
view patterns can do something close enough.

David.



More information about the Beginners mailing list