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

The Little Schemer

Name: Anonymous 2009-07-19 23:23

Hi, I am working through the little schemer. I do not have the math skills to work through SICP.

I have the following code:


(define (member? a lat)
  (lambda (a lat)
    (cond
      ((null? lat) #f)
      (else (or (eq? (car lat) a)
                (member? a (cdr lat)))))))



When I run this say like:
(member? 3 (cons 3 '(9 8 7 6 13 3)))

I get the following:
#<procedure:...my-scheme-log.ss:137:2>
rather than a list without the first instance of 3

Can you help me?

Name: Scheme Noobie 2009-07-23 11:42

>>59 must be Frozen Void. I cannot see it because I fixed prog with the greasemonkey script (and edited it to block frozenchef too)

FV I have installed the greasemonkey script that removes your posts.  Let me guess, his post was some troll shit about how useless functional languages are and how I should program everything in C? How do I know this? Well, because that is all you post, fucking lame troll shit that isn't even funny. Your code is unreadable and it is written in C.
I like scheme so far, a hell of a lot better than I like C.

No thanks. I have looked at C code and it is a fucking joke.

Just because this is my first language does not mean I am an idiot or have no experience with C. I bought a C book (K&R) about two years ago and after I learned pointers I realized that C is fucking stupid. I have no interest in creating operating systems or dealing with the huge amount of bugs that the coder must guard against when working with C. I have no interest in writing programs in "high level assembler". I have no interest in managing an array of chars to create a string when almost all modern languages will take care of that for me.
I have no interest in that stupid void * variableReturnType( args) bullshit. I have no interest in managing memory when 20983450293842 other languages will do it for me. C might teach you about the history of programming and that is great. But I have learned enough to know how the old programmers suffered while dealing with that trainwreck of a language.

I also have no interest in your shit posts FV. You are a troll.
Your "anti functional programming" posts only show that your career and life are limited by your bias and unwillingness to investigate different avenues. I have programmed in C out of the K&R book. It fucking sucks. Now everyone please install this:

http://userscripts.org/scripts/review/52726

Also, tell me if I was right, his shit post in >>59 was some anti fp troll right?


yeah yeah, IHBT

The rest of you guys, thanks a lot for your tips and help. I am really enjoying scheme. It is fun to think about these simple problems in scheme and develop these very small but very powerful ENTERPRISE SOLUTIONS
that would take three pages of text to create in java (god damn long syntax). You guys are cool dudes. Thanks a lot.

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