[Haskell-beginners] Hint on exercise from Real World Haskell
elviotoccalino at gmail.com
Mon Jun 28 22:58:55 EDT 2010
When you read a file (System.IO.readFile, for example) its content is
returned as a String... consider:
type String = [Char]
What function would you use to count the elements in a list?
El lun, 28-06-2010 a las 22:45 -0400, Chris Saunders escribió:
> I have been working on the exercises from chapter 1 of Real World Haskell.
> I seem to be stuck on a solution to:
> 4.Modify the WC.hs example again, to print the number of characters in a
> I'm hoping to get a hint for this one. I may request a solution later but
> for now I would prefer just a hint.
> Chris Saunders
> Beginners mailing list
> Beginners at haskell.org
More information about the Beginners