Syntax for implicit parameters
Erik Meijer
erik at meijcrosoft.com
Wed Apr 18 13:41:45 EDT 2001
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 at cs.utah.edu>
To: <hugs-bugs at haskell.org>; <glasgow-haskell-bugs at 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 at cs.utah.edu http://www.cs.utah.edu/~reid/
>
> _______________________________________________
> Hugs-Bugs mailing list
> Hugs-Bugs at haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-bugs
More information about the Glasgow-haskell-bugs
mailing list