Hi,

 

sortList2 :: String -> String
sortList2 (x:xs) 
                | x == ',' = ""
                | otherwise = [x] ++ sortList2 xs

 

im breaking a one specific string and putting them to each word. But I need
to put them to a tuple. 

Can someone help me with the code

 

Please. 

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to