[Haskell-cafe] benchmarking pure code

Bas van Dijk v.dijk.bas at gmail.com
Wed Mar 31 07:01:47 EDT 2010

On Wed, Mar 31, 2010 at 12:57 PM, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> main = let !t = genterm in defaultMain [bench "subst" $ nf (subst u) t]

Oops, that should be:

main = let t = genterm in rnf t `seq` defaultMain [bench "subst" $ nf
(subst u) t]


More information about the Haskell-Cafe mailing list