[Haskell-beginners] Hint on exercise from Real World Haskell
MAN
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
> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
More information about the Beginners
mailing list