[Haskell-cafe] ACross

Jared Updike jupdike at gmail.com
Mon Jun 19 16:31:04 EDT 2006

> Not to be the bad guy, but perhaps it's a good idea to remind
> ourselves of our homework policy.



> Can I use putString ???

If you mean putStrLn and putStr, then yes. I would first make a
function that constructs the string or list of strings (maybe using
++) you need to display, and then call putStr and/or putStrLn the
appropriate number of times.

Other questions to answer:

* Can we safely ignore the case of even numbers?, i.e. cross 2, cross
4, cross 6, etc.
* Looking at the output lines, how can we break down or classify them,
in terms of numbers of plus signs and areas of spaces? Which lines are
similar? etc.

Good luck,
reverse ")-:"

More information about the Haskell-Cafe mailing list