Re: General pattern bindings

2007-04-16 Thread Malcolm Wallace
2= e2 > >... > >| gm= em > >where { decls } > > I did not even know these things existed, is there anyone who actually > uses general pattern bindings? It is worth mentioning that such pattern bindings are not only used at the top-level - t

Re: General pattern bindings

2007-04-15 Thread Bulat Ziganshin
Hello Twan, Saturday, April 14, 2007, 5:43:03 AM, you wrote: > I did not even know these things existed, is there anyone who actually > uses general pattern bindings? b:kb:mb:gb:_ = iterate (1024*) 1 unfortunately, they got monotypes, so at last end i finished with simpler defin

Re: General pattern bindings

2007-04-14 Thread Neil Mitchell
Hi Twan, > In the interest of removing things from the standard, I found this in > the Haskell 98 report (section 4.4.3.2): Great idea to remove things, but keep your hands off extended pattern guards! I've got at least 3 instances of that in the module that is currently open on my screen. I'v

Re: General pattern bindings

2007-04-13 Thread Stefan O'Rear
cture as for function bindings above; in other words, a > > pattern binding is: > > > > p | g1= e1 > > | g2= e2 > > ... > > | gm= em > > where { decls } > > I did not even know these things existed, is there anyone who

General pattern bindings

2007-04-13 Thread Twan van Laarhoven
p | g1= e1 >| g2= e2 >... >| gm= em >where { decls } I did not even know these things existed, is there anyone who actually uses general pattern bindings? If not, the question becomes whether removing these bindings would improve the language. It can