[Hugs-users] list vs. atom

aminagho hosseinerohani at yahoo.com
Sun Apr 8 10:14:02 EDT 2007


what is the best way to distinguish atoms and lists in haskell?
I mean How I can find out the variable is List or atom.
I know we can use :t to define type but  I cannot use this.
I have to do it dynamically in my program.
Thanks a lot for your attention.
-- 
View this message in context: http://www.nabble.com/list-vs.-atom-tf3543626.html#a9892551
Sent from the Haskell - Hugs-Users mailing list archive at Nabble.com.



More information about the Hugs-Users mailing list