
14 Nov
2007
14 Nov
'07
4:22 a.m.
Hi Chris,
this could be captured nicely in a where clause:
exp = (fst blah, snd blah) where blah = gg 1000
But a let would have to be placed in both elements of the tuple
exp = (let blah = g 1000 in fst blah, let blah = g 1000 in snd blah)
Why not: exp = let blah = g 1000 in (fst blah, snd blah) Where's always get desugared to let's, so where's are never more efficient. Thanks Neil