Subject: Re: Assignmen 2

> 
> Hi
> 1) It seems that operators *, /, +  i.e. work only with objects of the same
> type that is i can't wright  ((Float) * (Int)). Futhermore, when I tried to
> define a new function           mult :: Float -> Int -> Float
>                        mult x 0 = 0
>                        mult x b = x + mult x (b - 1)
> just to check I found that it does not work either. Am I missing something ?

Yes, the last sentence of the first paragraph (below the example)
on page 2 in the assignment.

> 2) I'm running MacX from server and have a telnet connection to cs26. I
> copied the output file (output from mainFile "output" "BUG"
> [up,up,up,up,up,up,up]) to my directory in file ass2.2. Now  I have :
> cs26.cs.auckland.ac.nz> cd G360
> cs26.cs.auckland.ac.nz> ls
> disp          template2.gs  test2         test4         view
> template1.gs  test1         test3         test5         view.icn
> cs26.cs.auckland.ac.nz> disp ../tgal001/ass2.2
> /users/studs/ugrad/stage3/G360/view: can't open window
> what does it mean ? No assistant could give any advice nor should they.

Try opening an xterm from MacX and launch disp from it. 
Or set the DISPLAY environment variable in your telnet setting.

Note to Gary: How do the students find out which machine they
are running from so that they can correctly set the DISPLAY
variable?

/CC

___________________________________________________________________________
Christian Collberg      | Email: c_collberg@cs.auckland.ac.nz
Computer Science Dept   | Fax:   +64-9-373-7453
University of Auckland  | Phone: +64-9-373-7599 x 6137
Private Bag 92019,      | WWW:   http://www.cs.auckland.ac.nz/~collberg/
Auckland, NZ            |
___________________________________________________________________________
"Education is an admirable thing, but it is well to remember from time
to time that nothing that is worth knowing can be taught." - Oscar Wilde
___________________________________________________________________________