[Haskell-cafe] deriving ListLike instance

bob zhang bobzhang1988 at gmail.com
Mon Jul 25 20:30:06 CEST 2011


Hi, all,
newtype Stream a = Stream [a]

I wanna derive ListLike [a] a automatically, but did not find a solution,
I tried
deriving instance ListLile (Stream a) a -- does not work

Thank you.



More information about the Haskell-Cafe mailing list