[Haskell-beginners] sorting

kolli kolli nammukolli04 at gmail.com
Sat Oct 8 05:15:55 CEST 2011


what if i have ["ala", "0020", "zero", "00021" , "jera","0030"] and I want
to sort only the words and nt the numbers

On Fri, Oct 7, 2011 at 8:53 PM, Felipe Almeida Lessa <felipe.lessa at gmail.com
> wrote:

> import Data.List
>
> s = sort ["ala", "zero", "jera"]
>
> -
> Felipe.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111007/a7799d82/attachment.htm>


More information about the Beginners mailing list