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
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[[]{}]
>
>
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