Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 3
    or perhaps the OP meant turn "Abc" into ['A','b','c'] which can be done with \x->x or if you want to go point free: id. :-) Commented Jun 10, 2012 at 7:50
  • actually i need exactly what is written in example Commented Jun 10, 2012 at 8:08
  • 2
    What Philip JF means: In Haskell String is simply a list of Chars. Thus, "Abc" is exactly the same as ['A', 'b', 'c']. Commented Jun 10, 2012 at 8:11