Mark Dacoron wrote:

> I am getting an error when trying to run this specific line in hugs
> the line is
> " half [1..35] where half x = take (length x 'div' 2) x"
>
> and the error that i am getting is
> "Improperly terminated character constant"
>
> I do not know what is going on ????
> please help
> Mark Dacoron
> _______________________________

You are using the wrong kind of single quote for div: it should be `div`.

--Jeff


_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to