[Haskell-beginners] Re: Hint on exercise from Real World Haskell

prad prad at towardsfreedom.com
Tue Jun 29 00:31:19 EDT 2010

On Mon, 28 Jun 2010 22:45:23 -0400
"Chris Saunders" <evas at mountaincable.net> wrote:

> print the number of characters in a 
> file ... I'm hoping to get a hint for this one.
1. read in the file - which will be (eventually) a bunch of chars
2. count the chars by adding 1 to the count of the chars less one char
(can be done with pattern matching x:xs and then using just xs)

In friendship,

                                      ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's

More information about the Beginners mailing list