Haskell Asignement not working

2003-10-29 Thread Rachel Reid
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 = )|n0 = `sideBySide` sb (bLine (n-1)) and when running Hugs, it says that there is a unexpected symbol "#" in line 9 which is bLine n ).

Re: Haskell Asignement not working

2003-10-29 Thread Hal Daume III
This looks like a syntax error to me. On Tue, 28 Oct 2003, Rachel Reid wrote: bLine n ) What is the close parenthesis for (or is this a character encoding issue?)? Definitely shouldn't be there...I'm guessing it should be something like 'k' or the like. |n==0 = ) Same comment.

Heap profiling in GHC broken?

2003-10-29 Thread Markus . Schnell
Hi. When I tried to profile my program in search for space leaks, it core dumped on me (actually on Win2000/Cygwin). I'm using ghc 6.0.1. Does anybody know what could be the problem? (To be more precise: any +RTS -h_ options make problems, +RTS -p works fine. I get a message meaning the