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

Pages: 1-

is this right /prog/?

Name: Anonymous 2009-05-09 17:20

(define (reverse x)
(if (null? x) null)
(cons (reverse (cdr x) (car x)))

Name: Anonymous 2009-05-09 17:21

no

Name: Anonymous 2009-05-09 17:22

DONT HELP HIM

Name: Anonymous 2009-05-09 17:30

lol, I was going to give him incorrect help, but when I read what he wrote it turned out to be the correct solution.

Name: Anonymous 2009-05-09 17:36

Why don't you try pattern matching.

Name: Lambda Theory 2009-05-09 18:13

(define (reverse list) (revappend list '()))
(define (revappend list accumulator)
 
(if (null? list)
     accumulator
    
(revappend (cdr list) (cons (car list) accumulator))))

Name: Anonymous 2009-05-09 18:14

>>5
Because it looks like shit in Scheme and takes a fucking page of macros to define

Name: Anonymous 2009-05-09 18:27

>>7
How about you terminate your sentences with a full stop, faggot.

Name: xkcd4lyfe 2009-05-09 18:30

               _                         _                                                       _          _      _            ____ 
 ___ _   _  __| | ___    _ __ ___   __ _| | _____   _ __ ___   ___    __ _   ___  __ _ _ __   __| |_      _(_) ___| |__   __  _|  _ \
/ __| | | |/ _` |/ _ \  | '_ ` _ \ / _` | |/ / _ \ | '_ ` _ \ / _ \  / _` | / __|/ _` | '_ \ / _` \ \ /\ / / |/ __| '_ \  \ \/ / | | |
\__ \ |_| | (_| | (_) | | | | | | | (_| |   <  __/ | | | | | |  __/ | (_| | \__ \ (_| | | | | (_| |\ V  V /| | (__| | | |  >  <| |_| |
|___/\__,_|\__,_|\___/  |_| |_| |_|\__,_|_|\_\___| |_| |_| |_|\___|  \__,_| |___/\__,_|_| |_|\__,_| \_/\_/ |_|\___|_| |_| /_/\_\____/

Name: Anonymous 2009-05-09 19:25

>>8
how about you stop masking your homosexuality behind this grammar nazi facade, and learn to love yourself

Name: Anonymous 2009-05-09 19:35

>>10
I'm not masking any type of homosexuality, in fact I freely admit I'm bi.
Why don't you have another go at an insult, go on I'll give you freebie. Anything you want to say.

Name: Anonymous 2009-05-09 19:36

>>11
The jerk store called, and they're running out of you

Name: Anonymous 2009-05-09 19:39

>>12
There you go again, leaving out full stops. Darn kids and you're XKCD. Jesus, sudo get out of this thread.

Name: Anonymous 2009-05-09 19:56

>>1-13

Back to /wherever you cam from/, please!

Name: Anonymous 2009-05-09 20:26

>>12
What's the difference ? You're their all-time best seller

Name: Anonymous 2009-05-09 20:28

>>15

where is this jerk store? do they sell faggorty?

Name: Anonymous 2009-05-09 20:33

sudo cat you | jerk store --they've been runing out of

Name: Anonymous 2009-05-09 20:52

>>15
Oh yeah? Well... I had sex with your cdr!

Name: Anonymous 2009-05-09 21:45

>>18
Did he "GRUNNER"?

Name: Anonymous 2009-05-09 22:06

>>18
Psst... >>15's cdr was garbage collected last Thursday...

Name: Anonymous 2009-05-09 23:32

>>19
please get a browser that runs some sort of spell-check on your posts before you post them.

Name: Anonymous 2009-05-10 0:19

>>21
Back to /g/, please!

Name: Anonymous 2010-11-13 13:36

Name: Anonymous 2011-02-04 11:59

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