[Haskell-cafe] Re: Functional programming for processing
oflargeraster images
Matthias Fischmann
fis at wiwi.hu-berlin.de
Thu Jun 22 04:53:00 EDT 2006
On Thu, Jun 22, 2006 at 09:22:34AM +0100, Simon Peyton-Jones wrote:
> To: Brian Hulley <brianh at metamilk.com>, Joel Reymont <joelr1 at gmail.com>
> Cc: haskell-cafe at haskell.org
> From: Simon Peyton-Jones <simonpj at microsoft.com>
> Date: Thu, 22 Jun 2006 09:22:34 +0100
> Subject: RE: [Haskell-cafe] Re: Functional programming for processing
> oflargeraster images
>
> http://haskell.galois.com/cgi-bin/haskell-prime/trac.cgi/wiki/BangPatterns
>
> Bang patterns make it much more convenient to write a strict function.
> E.g
> f (x, !y) = ...
> is strict both in the pair (of course) but also in the second component
> of the pair, y.
i am ecstatic to hear that :).
if it really means that 'y' will be fully evaluated (not top level
normal form, but whatsthenameforthis, in the way ocaml evaluates
expressions), it's something i have been missing so much that i was
thinking of switching back to a strict language again.
will upgrade as soon as i can, thanks!
m.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/haskell-cafe/attachments/20060622/1152d620/attachment.bin
More information about the Haskell-Cafe
mailing list