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.html Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
