[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: Haskell Asignement not working
From:       Hal Daume III <hdaume () ISI ! EDU>
Date:       2003-10-29 16:04:01
Message-ID: Pine.LNX.4.44.0310290802290.30267-100000 () albini ! isi ! edu
[Download RAW message or body]

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.

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

The `foo` notation is used to make a function (in your case sideBySide) 
into an infix function, so you can write "x `foo` y".  but in your case 
you're not using it infix, so you don't want the ``s.

HTH,

 - Hal

-- 
 Hal Daume III                                   | hdaume@isi.edu
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic