[Haskell-cafe] How to get subset of a list?

Huazhi (Hank) Gong hankgong at nm.gist.ac.kr
Thu Nov 30 20:47:43 EST 2006


Like given a string list s="This is the string I want to test", I want to get
the substring. In ruby or other language, it's simple like s[2..10], but how
to do it in Haskell?
-- 
View this message in context: http://www.nabble.com/How-to-get-subset-of-a-list--tf2735647.html#a7631994
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list