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

Pages: 1-

Scheme/DrRacket

Name: Anonymous 2013-02-12 17:57

How do you do this shit /prog/?

Write a Scheme function update-info that consumes an info structure (called data, in which all field
values are numbers), and a nonnegative number (called upper-bound). The function produces the number of
fields in data which are negative or are strictly greater than upper-bound. In addition, all fields of data
which are negative are replaced with 0, and all fields of data that are greater than upper-bound are replaced
with upper-bound.  Use field mutation operations to update data – you may not create any new info
structures in update-info. For example,


(define d (make-info 11 9 -7))
(update-info d 10)
2
d
(make-info 10 9 0)

Name: Anonymous 2013-02-12 18:04

1. read SICP
2. put your hands on the keyboard
3. write the fucking code

Name: Anonymous 2013-02-12 18:06

4. Fail your assignment because you asked /frog/ for help.

Name: Dr Emil Wolowitz 2013-02-12 18:08

I am >>1-san's professor and rest assured he will receive 0 marks for this exercise.

Name: Anonymous 2013-02-12 18:10

field mutation operations to update data
I recommend breaking into the professor's office and shitting all over the floor, then smudging the word "this is mutation" on the wall

Name: Anonymous 2013-02-12 18:10

>>4
Lel

Name: Anonymous 2013-02-12 18:22

How do you manage not to fail the subject, >>1? This is probably the sixth time you ask.

Name: Anonymous 2013-02-12 18:24

>>7
Don't care about Scheme. This will be the last time I ask since we're finally getting into Python.

Name: Anonymous 2013-02-12 18:26

>>8
You are a spoilt idiot.

Name: Anonymous 2013-02-12 18:27

>>9
What?

Name: Anonymous 2013-02-12 18:27

>>10
You are a spoilt idiot.

Name: Anonymous 2013-02-12 18:28

>>11
I don't care about exploits either... Python is just easier to me because I'm not typing ))))))))) all day.

Name: Anonymous 2013-02-12 18:29

>>7-11
Just wanted to say, this is fucking hilarious, keep it up guys.

Name: Anonymous 2013-02-12 18:31

>>12
keysym 9 = 9 bracketleft
keysym 0 = 0 bracketright
keysym bracketleft = parenleft braceleft
keysym bracketright = parenright braceright


>>13
I'll shit down your dick hole.

Name: Anonymous 2013-02-12 18:31

>>1
Is there a convention on how this ``data'' would be represented and manipulated?

It could be from a linked list which you car and cdr directly to a silly closure which receives messages (as in SICP's implementation of objects) or actual records in Racket. The REPL output doesn't seem to match for any of such types.

Without knowing that, we can't help you.

Name: Anonymous 2013-02-12 18:32

>>15
The only info I'm given is the actual structure of info
(define-struct info (one two three))

Name: >>15 2013-02-12 18:32

>>12
Actually, I won't be helping you now. You're on your own.

Name: Anonymous 2013-02-12 18:33

>>14
, said he, aroused.

Name: Anonymous 2013-02-12 18:33

>>17
Okay.

Name: Anonymous 2013-02-12 18:36

>>18
I slowly unzip your long johns with my sharp pencil dick. Here's the moment we've both been waiting for. Quivering slightly, I saw your underpants off, nicking your right thigh's main artery a bit and making it leak. I am hard as I turn round and surreptitiously insert both hands into your pee hole and open it up. A sliver of golden turn slips out of my anus.

Name: Anonymous 2013-02-12 18:36

>>17
But you're supposed to help me, my professor gave us a link to this website in case we had any questions!

Name: Anonymous 2013-02-12 18:41

Lol this thread.

Name: Anonymous 2013-02-12 18:45

>>20
I moan with pleasure as you penetrate my skull with your penis.  Far from losing consciousness, the hole in my brain renders me euphoric.  Your sharp dick begins to dull, so I use my pencil sharpener on it as I masturbate furiously.

Name: Anonymous 2013-02-12 18:50

>>12
You'll have a fun time arguing with the Javashit kike. I hope you enjoy the abusive abuse of abused /g/ memes.

Name: >>24 2013-02-12 18:57

By the way, I'm just wondering: have you goys ever craved jewish cock so badly that you found yourself running around outside, howling at the moon for it? Literally ROARING at the top of your lungs, wanting nothing less than a jews's dick head churning against your glottal stop?

Tell me I'm not alone!

Name: >>24 2013-02-12 18:58

>>25
I do crave for Jewish cock, but I'm not after the Javashit kike.

Name: Anonymous 2013-02-12 19:05

>>23
Bleeding profusely but razor sharp again, my dick is ready for some more action. My buttocks convulse with pleasure as your sweet cranial fluids gush over my stomach. I take the time to scoop some up and inhale it; upon hitting my nasal cavity your juices instantly render me autistic. I cut off my arm and use my severed radius to fist you.

Name: Anonymous 2013-02-14 22:56

>>24
Shalom!

Name: Anonymous 2013-02-14 23:42

I fucking love scheme and dr.racket.

Name: Anonymous 2013-02-14 23:58

I fucking love racket and dr.scheme.

Name: Anonymous 2013-02-15 0:36

I love fucking dr.scheme with my racket.

Name: 25 2013-02-15 0:51

By the way, I'm just wondering: have you parasitic kikes ever craved glorious human non-parasisitc cock so badly that you found yourself running around outside, hava nagilaing at the moon for it? Literally ROARING hava nagila at the top of your parasitic kike lungs, wanting nothing less than a immaculate heavenly gentile's dick head churning against your parasitic kike glottal stop?

Tell me I'm not alone!

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