These are beginning to look like homework questions...

On Thu, Mar 4, 2010 at 11:38 AM, Pradeep Wickramanayake <pradeep@talk.lk> wrote:

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.



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4915 (20100304) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

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