Haskell Asignement not working

Rachel Reid rslr2 at kent.ac.uk
Tue Oct 28 21:54:53 EST 2003

My code is 

 --1)Define a function bLine to give a line of horizontal #s

import Pictures

sb, sw :: Picture 

bLine :: Int -> Picture

bLine n )
 |n==0     = )
 |n>0         = `sideBySide` sb (bLine (n-1))

and when running Hugs, it says that there is a <unexpected symbol "#"> in line 9 which is bLine n ). There was a hash sign previously, but I have reloaded Hugs since then.

can you help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://haskell.org/pipermail/haskell-cafe/attachments/20031028/35bdf0fc/attachment.htm

More information about the Haskell-Cafe mailing list