[Haskell-cafe] a minor bug (memory leak) in ListLike package

bob zhang bobzhang1988 at gmail.com
Wed Aug 24 03:10:21 CEST 2011

Hi, John, there is a space leak problem in ListLike typeclass,
in the method genericLength
calclen !accum cl =
calclen accum cl =
--- thank you for your nice library
btw, is there any way to derive ListLike interface automatically?
for such type :
newtype List a = List {[a]}

More information about the Haskell-Cafe mailing list