Syntax for implicit parameters

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Apr 30 08:42:38 EDT 2001


Mon, 30 Apr 2001 05:22:13 -0700, Simon Peyton-Jones <simonpj at microsoft.com> pisze:

> 	let dynamic
> 		?x = 3
> 		?y = ?y+?x
> 	in
> 	...
> 
> * 'dynamic' is a special-id, only significant immediately following
>   a let.

So 'dynamic' triggers the layout rule after 'let' but not in other cases.
Ok, but it's the first time where such thing happens.

I like it better than 'with' but worse than plain 'let'.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTÊPCZA
QRCZAK





More information about the Glasgow-haskell-bugs mailing list