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

Pages: 1-

Serious Question

Name: Anonymous 2007-09-25 12:35 ID:iAJ5jp/N

What the fuck is CDR anyway?

Name: Anonymous 2007-09-25 12:39 ID:SZoCdaMz

Serious Answer: Read SICP.

Name: Anonymous 2007-09-25 12:46 ID:846CFi0+

Serious answer: It's my other car.

Name: Anonymous 2007-09-25 12:49 ID:Heaven

Oh, sad implication:
OP doesn't know what a cudder is,
 ergo he had never touched Scheme,
  ergo he didn't read SICP,
   ergo he was unprofessionally prepared for programming,
 or he is a troll.


Also, forced implementation of logical facts. Doubleplusgood.

Name: Anonymous 2007-09-25 12:54 ID:iAJ5jp/N

So a CDR is just something that's in fact highly exotic and irrelevant and only good for trolling, amirite?

Or it doesn't exist.

Name: Anonymous 2007-09-25 13:01 ID:Heaven

>>5
So a CDR is just something that's in fact highly exotic
False

and irrelevant
False

and only good for trolling, amirite?
False

Or it doesn't exist.
False

It is, among other things, great for trolling, though.

Name: Anonymous 2007-09-25 13:29 ID:Heaven

Actually, everything >>6 pointed out is also true. A cdr is everything and nothing at the same time.

Name: Anonymous 2007-09-25 13:41 ID:Heaven

              / ̄∧_∧ ̄ ̄ ̄ // ̄\\
        __ ⊂/__(´∀` )__  /_⊃___| |\フ ヽ  My other car
    ,  ´_  /   / ̄ ̄ __ / ̄ ヽ    __ヽ ̄ ̄ |  is a cdr
   /∠__/―/-。―/――∠_/__∧  |       | ∧_.| 
   ,========――´=============/⌒ヽ=|.=====| | ヽ ̄〕 
   | _    |SICP|     _  ″  |⌒| |/   __ /|  )ノ    vroom
   )_旧_∈≡≡≡≡∋_旧_″_|| ノ丿_ -――┘ 丿      vroom!
    \ \_ノ  ̄ ̄ ̄三三三\ \_ノ    三三三三 
     三三三三三三三三三三三三三三三三三三三三三三三三
        三三三三三三三三三三三三三三三三三三三三三三三

Name: Anonymous 2007-09-25 14:21 ID:iAJ5jp/N

              / ̄∧_∧ ̄ ̄ ̄ // ̄\\
        __ ⊂/__(´∀` )__  /_⊃___| |\フ ヽ  My other car
    ,  ´_  /   / ̄ ̄ __ / ̄ ヽ    __ヽ ̄ ̄ |  is an enterprise driving solution
   /∠__/―/-。―/――∠_/__∧  |       | ∧_.| 
   ,========――´=============/⌒ヽ=|.=====| | ヽ ̄〕 
   | _    |JAVA|     _  ″  |⌒| |/   __ /|  )ノ    vroom
   )_旧_∈≡≡≡≡∋_旧_″_|| ノ丿_ -――┘ 丿      vroom!
    \ \_ノ  ̄ ̄ ̄三三三\ \_ノ    三三三三 
     三三三三三三三三三三三三三三三三三三三三三三三三
        三三三三三三三三三三三三三三三三三三三三三三三

Name: Anonymous 2007-09-25 14:36 ID:+GxLCF+C

                             __
               ---_ ...... _/_ -
              /  .      ./ .'*\ \
              : '         /__-'   \.
             /                      )
           _/                  >   .'
        /   .   .       _.-" /  .'
         \           __/"     /.'/|
          \ '--  .-" /      //' |\|    //`'''`'',
            \|..\ |/Oo.   //_ _ |/|   // PYTHON `.,
           .'    \:____.,/|_ _ _|\|  //',,,.'``.,,.'
         / _____  \___/.' | _ _ |/| //
         | / ||  \\---\|  \ _ _ \\\//
         ||  ||   \\  ||   \ _ _ \|\
         co  co    co co

Name: Faggy McFagFag 2007-09-25 15:52 ID:Dkqab+kY

>>1
In Scheme (and Lisp in general), there exists a structure called the cons cell, which contains two values or pointers to values. car returns the first item in a cons cell. cdr returns the second item in a cons cell.
(car (cons 1 2)) => 1
(cdr (cons 1 2)) => 2

More importantly, cons cells are used to implement singly linked lists. The list structure is defined recursively; any list structure in Lisp is either:
1. An empty list, usually called nil and represented as '().
2. A cons cell whos car is the first element of the list and whose cdr is a smaller list containing the rest of the elements.
You can see that when dealing with lists, car returns the "head" of the list, and cdr returns the "tail" of the list.

I hope I helped you understand cdr :).

Name: Anonymous 2007-09-25 15:57 ID:Heaven

              / ̄∧_∧ ̄ ̄ ̄ // ̄\\
        __ ⊂/__(´∀` )__  /_⊃___| |\フ ヽ  My other car
    ,  ´_  /   / ̄ ̄ __ / ̄ ヽ    __ヽ ̄ ̄ |  is easy to program
   /∠__/―/-。―/――∠_/__∧  |       | ∧_.| 
   ,========――´=============/⌒ヽ=|.=====| | ヽ ̄〕 
   | _    |BASIC|    _  ″  |⌒| |/   __ /|  )ノ    vroom
   )_旧_∈≡≡≡≡∋_旧_″_|| ノ丿_ -――┘ 丿      vroom!
    \ \_ノ  ̄ ̄ ̄三三三\ \_ノ    三三三三 
     三三三三三三三三三三三三三三三三三三三三三三三三
        三三三三三三三三三三三三三三三三三三三三三三三

Name: Anonymous 2007-09-25 16:02 ID:HsSCB+tz

>>7
A cdr is everything and nothing at the same time.

I like how you think. cdr isn't the first car though.

Name: Anonymous 2007-09-25 16:08 ID:Heaven

>>11
BEWARE

THIS IS AN EXPERT TROLL

Name: Anonymous 2007-09-25 16:09 ID:Heaven

>>13
It is, it's just the other car.

Name: Anonymous 2007-09-25 16:11 ID:Heaven

>>11
You goddamn idiot!
Now you've done it, you fucking angered an expert progrAMMER
GODFUCKIGNDAMN
FIRST OF ALL, YOU DONT FUQIN KNOW WHAT A MAN PAGE IS
SECONDLY, THIS IS /prog/ DO NOT DEMAND USEFUL ANSWERS THE WAY YOU WANT THEM TO BE
THIRDLY PROGRAMMING IS ALL ABOUT PHILOSOPHY AND ``ABSTRACT BULLSHITE'' THAT YOU WILL NEVER COMPREHEND
AND FUQIN LASTLY, FUCK OFF WITH YOUR BULLSHYT
EVERYTHING HAS ALREADY BEEN ANSWERED IN
>>3,4,10

Name: Anonymous 2007-09-25 16:57 ID:OBe9kkpm

CDR is serious business.

Name: Anonymous 2007-09-25 17:25 ID:iAJ5jp/N

>>11
Wow serious reply on /prog/ wtf. Kthx.

http://en.wikipedia.org/wiki/Cons

Name: Anonymous 2007-09-25 18:51 ID:+Ez1ll9u

asdasd

Name: Anonymous 2009-02-25 6:26


The fuck is CDR.

Name: Anonymous 2009-03-06 13:27

THIS is infinitely better My impression is   and others have   taken some much   better and more   complex code is   art bbcode is   art is bbcode   bbcode is art   like placing a   blank painting in.

Name: Anonymous 2011-01-31 21:29

<-- check em dubz

Name: Anonymous 2011-02-04 18:26

Name: Anonymous 2012-06-25 22:54

⊓榐覅靵閙ᄖɱ㝷疕ↇ頱を䂂┶匰ـ⠷و̓ހ鉘h鄘艵儴၇栄覉鈔⢇ᙵݷ噘堅ሢ⍒砶䝱䝂ʘ镶ሶ䐕䆗戕䤧霵呶锔〲䅄冃聉ѡɕ堰厇剹塠即ቔ䍵䝒Ġ゙ពő啗电奣㥐虧靱陦⑕ᆙ䉩Ↄ敳塔鍱首ᖑ᜴᝙茒ޕ萢䢘栨蜰⥆怸葶挣蜠ᡐŤ㝘劒⦓暓酄䡀ⅅ顶馁蔆㎑概愨吇牳䄅⒈葷䡱昃㕱Fͣᥨ㘵耸㍂鄷ķ睧聙昕萸ၐ剠s㘢鄁録噕遘⡓附摴悅墄钔呱ڒ兩灥鑦灀ᄣ䠒唴ቤݧ椩艁‸袂Ŷ斔嘣⚇䂐⥱⌥撓䆉枙㌀塖䅧न䑂⍠䁅ᕁ镵厅獳呗᎗ࡳࠕₖ爩碃љ鑵圁⚕艖瀰⢖Ա✕敳脡ᅔ✒ᎄ㦂␗⠙眂瀒〔猥蝀ၒ饆褧Ѵ呉▓㡳❸đ䜂疁┳〇͗覗椙㞈则ᔘ┡䄑ሃ┰悃爃⡲䝕䤖⤘圱噲畗⥓㉲ℕ捇䅠͙㥈夥ᐸ劁┦餑砥䈑ډВ戹ᄃ鉸脶祤慥捨抈✠煑᝔遈桖脓瑄楑茐क़䌹㠩❉ぅ̂艠摲䌷㈩ᤲ⡒䉷ᥦ衩煈╤荩砵℁饆焉㡒塔䥨

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