Re: [Haskell-cafe] GHCi vs. Hugs (record syntax)

2009-05-31 Thread Claus Reinke
head[[]{}] GHCi: [] Hugs: ERROR - Empty field list in update What is the correct behavior? Seems as if GHC interprets []{} as labelled construction instead of labelled update - 3 Expressions (the grammar productions): | qcon { fbind1 , ... , fbindn } (labeled construction, n>=0) | aexp

Re: [Haskell-cafe] GHCi vs. Hugs (record syntax)

2009-05-31 Thread Ryan Ingram
Hi Vladimir, I don't have any answers for your questions, but what are you trying to do that's causing you to play with the edges of the parser/type system? -- ryan On Sun, May 31, 2009 at 12:41 AM, Vladimir Reshetnikov wrote: > Hi, > > I tried to evaluate this expression: > > head[[]{}] > >

[Haskell-cafe] GHCi vs. Hugs (record syntax)

2009-05-31 Thread Vladimir Reshetnikov
Hi, I tried to evaluate this expression: head[[]{}] GHCi: [] Hugs: ERROR - Empty field list in update What is the correct behavior? Thanks, Vladimir ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskel