String manipulation.

Ketil Z. Malde
08 Feb 2002 11:12:29 +0100

"DK" <> writes:

> What I would like to ask, is how can I take a string from a list, and
> manipulate it, in order to convert it to an integer.

That's very simple, and I'm of course happy to help out with homework
questions.  (That's what mailinglists are for, after all.)  So, how

> convert :: String -> Integer
> convert _ = 0

(This converts all strings to the integer zero.)

HTH, HAND. :-)

If I haven't seen further, it is by standing in the footprints of giants