Translating seq into Core

Simon Peyton-Jones simonpj@microsoft.com
Fri, 3 Jan 2003 14:53:50 -0000


seq a b =3D case a of { DEFAULT -> b }

In Core, case is always strict.

| -----Original Message-----
| From: David Sabel [mailto:dsabel@stud.uni-frankfurt.de]
| Sent: 03 January 2003 14:11
| To: glasgow-haskell-users@haskell.org
| Subject: Translating seq into Core
|=20
| Hallo,
|=20
| my question ist, how the "seq" operator is translated into the
| GHC-core-language?
|=20
| I had suspected, the core-language has a special strictness-operator,
but I
| saw, that this is not the case.
|=20
|=20
| David Sabel
| JWGU Frankfurt
|=20
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users