
16 Oct
2008
16 Oct
'08
11:44 a.m.
On Thu, 16 Oct 2008, George Pollard wrote:
However, in the case he has written about this won't fire, since the LHS cannot be substituted as `cycle list` is used more than once:
let rlist = cycle list print ( rlist !! (10^9), rlist !! 0 )
I can get it to fire again if I write it like this:
Perhaps {-# INLINE rlist #-}