[Haskell-cafe] List as input

leledumbo leledumbo_cool at yahoo.co.id
Fri Oct 17 09:21:35 EDT 2008


So, what's the solution? This one:

(l::[Ord]) <- readLn 

doesn't work (because Ord isn't a type constructor). It doesn't even comply
to Haskell 98 standard. I want to be able to read any list of ordered
elements.
-- 
View this message in context: http://www.nabble.com/List-as-input-tp19987726p20033244.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list