
11 Jul
2008
11 Jul
'08
9:19 a.m.
Don Stewart-2 wrote:
I'd use a strict pair and the rnf strategy.
data P = P [Something] !Int
rnf dfs' (P dfs' (n+1)
Thanks all, it definitely seems like an improvement. -- Grzegorz -- View this message in context: http://www.nabble.com/More-idiomatic-use-of-strictness-tp18379800p18403657.h... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.