
19 Jun
2006
19 Jun
'06
4:31 p.m.
Not to be the bad guy, but perhaps it's a good idea to remind ourselves of our homework policy.
This? http://www.haskell.org/hawiki/HomeworkHelp
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, Jared. -- http://www.updike.org/~jared/ reverse ")-:"