
29 Jun
2010
29 Jun
'10
2:58 a.m.
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 file.
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.
Regards Chris Saunders
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners