[Haskell-cafe] How to break strings and put to a tuple

John Van Enk vanenkj at gmail.com
Thu Mar 4 11:40:37 EST 2010


These are beginning to look like homework questions...

On Thu, Mar 4, 2010 at 11:38 AM, Pradeep Wickramanayake <pradeep at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100304/196bd255/attachment.html


More information about the Haskell-Cafe mailing list