Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

training frustrations

Name: Anonymous 2007-04-10 12:36 ID:aK12bTAD

I had to show my apprentice today how to use the modulus operator, as he just didn't get it.

But before that I had to explain how to divide integers leaving a quotient and remainder. He didn't get that either.

"Ok, so tell me the remainder of one divided by two..."
(several seconds pause)
"That's a bit hard."

I ended up drawing diagrams and using coins to explain how to do division. Just what are they teaching them these days??

Name: Anonymous 2007-04-10 16:57 ID://eckNvH

>>5
 
Fail at HASKELL
Prelude> let a (<=>) b = True
Prelude> 1 <=> 2

<interactive>:1:2: Not in scope: `<=>'

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List