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

Pages: 1-

Have you implemented your R5RS today?

Name: Anonymous 2013-07-06 22:35

Name: 1 2013-07-06 22:36

R7RS *

My bad.

Name: Anonymous 2013-07-06 22:45

Go back to /g/ please

Name: Anonymous 2013-07-06 23:07

eq? and eqv?
that is a lot of operators, when C/C++ gets away with just ==

Name: Anonymous 2013-07-07 1:54

>>4
C++ gets away with just ==, which can be overloaded. C is just stuck with eqv?, that is, physical, character, and numerical equality for its primitive types. equal? is a different beast, though.

Name: Anonymous 2013-07-07 13:16

>>5
scheme is a bloatware

Name: Anonymous 2013-07-07 13:55

>>6
idiot

Name: Anonymous 2013-07-07 16:46

>>6
50-page standard
bloatware

Name: Anonymous 2013-07-07 17:01

>>8
standard includes all these eq?/eqv?/equal?

then it is likely incomplete or poorly worded.

Name: Anonymous 2013-07-07 17:03

>>9
You haven't read it, have you.

Name: Anonymous 2013-07-07 17:25

check'em

Name: Anonymous 2013-07-07 17:30

A bit of trivia: the eqv? and eq? thing seems it was a tipping point to gain support of some conditional votes for ratification, something about procedural equivalence semantics on eq?/eqv?, the mailing list had a long discussion about it, even the Sussman himself chimed in on this on the mailing list so I guess it was significant, they had set their bar high at something like 70% approval for ratification. The 30% that opposed ratification included Racket people, some of the key R6RS people didn't seem to have bothered voting at all.

Name: Anonymous 2013-07-07 18:05

>>10
No. I'm making guesses.

Name: Anonymous 2013-07-07 18:08

>>13
idiot

Name: Anonymous 2013-07-07 18:10

>>14
You're butthurt. So I conclude my guess was correct.

Name: Anonymous 2013-07-07 18:18

>>9
eq? compares the addresses of two objects. eqv? compares the values. While C uses the same operator for both comparisons, it requires different syntax.

#include <stdio.h>

int main()
{
    int x;
    int y;

    x = y = 42;
    printf("(eq?  x y) => %s\n", &x == &y ? "true" : "false");
    printf("(eqv? x y) => %s\n", x == y ? "true" : "false");
    return 0;
}


Output:
(eq?  p q) => false
(eqv? p q) => true


So even in C, x and y are both similar and different at the same time. They require two different kinds of comparisons.

Name: Anonymous 2013-07-07 18:23

>>15
Hey gro, I've heard of this really cool board. Click here: http://boards.4chan.org/g/ . It's great, I get to make guesses all day about things I don't understand and not get called out on it! Let's go together right now!

Name: Anonymous 2013-07-07 18:24

>>16
eq? compares the addresses of two objects.
That is an abstraction leak, because addresses are implementation detail and shouldnt appear above operating system and compiler level.

Name: Anonymous 2013-07-07 18:25

>>16
...except == in C doesn't generalize to structs. AND STOP TRYING TO HELP THEM!

Name: Anonymous 2013-07-07 18:26

>>17
LLLLLLLLLLLEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
>EGINIGOINGWIN GORGORGORO!!!!! XDDDDDD

Name: Anonymous 2013-07-07 18:27

>>17
Just read the K&R book and stop pretending that your little scheme is something special, while scheme is just a half-assed scripting language, written using Flex++ and Bison.

Name: Anonymous 2013-07-07 18:29

>>18
It's usually defined as identity quality or something along those lines. Again you're wrong, and again you're a mental midget. Maybe you should stick to scrubbing toilets..

Name: Anonymous 2013-07-07 18:37

>>21
If you knew anything about scheme you would know you don't need Bison at all gro. Even further, if you knew anything about compilers, you would have heard of bootstrapping. Again, you're an idiot. And again, you don't know anything beyond the compiler class you're taking right now. Maybe you should get back to your homework before you drop out and end up flipping burgers for a living.

Name: Anonymous 2013-07-07 21:23

This thrad \\\ confirmas SChEME >>>> undefined shit

Name: Anonymous 2013-07-07 23:30

Anonymous likes this

Name: Anonymous 2013-07-07 23:30

Anonymous likes this

Name: Anonymous 2013-07-07 23:30

Anonymous reblogged this

Name: Anonymous 2013-07-07 23:30

Anonymous likes this

Name: Anonymous 2013-07-07 23:30

Anonymous reblogged this

Name: Anonymous 2013-07-08 1:35

Anonymous likes your anus

Name: Anonymous 2013-07-08 1:35

Anonymous reblogged your anus

Name: Anonymous 2013-07-08 4:51

Anonymous saged this

Name: Anonymous 2013-07-08 11:59

>>32
Va te faire enculer espèce de connard

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