
25 Nov
2015
25 Nov
'15
2:38 p.m.
I'm not quite sure I understand the purpose of this structure. As far as I can tell, it's isomorphic to list (even under laziness) with some minor differences in performance characteristics (determining whether a cons cell is terminal requires evaluating the subsequent list to WHNF, whereas in your structure it follows from the constructor. But I think that's just a minor performance detail). On 11/25/2015 8:04 PM, Silvio Frischknecht wrote:
readFile :: String -> List Error String
should have been
readFile :: String -> IO (List Error String) _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe