Syntax for implicit parameters

Erik Meijer Erik Meijer" <erik@meijcrosoft.com
Wed, 18 Apr 2001 10:41:45 -0700


As I was not involved in that discussion, why should the keyword "with" not
be introduced?


Just curious,

Erik
----- Original Message -----
From: "Alastair Reid" <reid@cs.utah.edu>
To: <hugs-bugs@haskell.org>; <glasgow-haskell-bugs@haskell.org>
Sent: Wednesday, April 18, 2001 10:31 AM
Subject: Syntax for implicit parameters


>
> Some months ago, there was talk about making sure GHC and Hugs use the
> same syntax for implicit parameters and (most importantly) that that
> syntax should not introduce the keyword "with".
>
> As far as I can see (from looking at both parsers and trying
> examples), this discussion has not been acted on.  Hugs seems to
> allow:
>
>   dlet ?x = 'a' in ?x + 1
>   ?x + 1 with ?x = 'a'
>
> and GHC 5.0 only seems to support:
>
>   ?x + 1 with ?x = 'a'
>
> Can the GHC people, the Hugs people and the implicit parameter
> designers come to some sort of agreement and implement the result?
>
>
> --
> Alastair Reid        reid@cs.utah.edu        http://www.cs.utah.edu/~reid/
>
> _______________________________________________
> Hugs-Bugs mailing list
> Hugs-Bugs@haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-bugs