Author Topic: Discussion: Concatenations of car and cdr  (Read 5896 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Discussion: Concatenations of car and cdr
« Reply #15 on: April 22, 2005, 04:45:22 PM »
Quote from: TimSpangler
doesn't (nth Pos List) give you that same only with an expected resualt

(setq r '(a b c d e f g))

(nth 4 r)
d

Is this way no good?  This is usually how I get there from here.


What?
You had better check your results. :shock:
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

daron

  • Guest
Discussion: Concatenations of car and cdr
« Reply #16 on: April 22, 2005, 04:48:21 PM »
Hahahaha. I didn't see that. Pssst! Tim, 'e' would be the expected result. ROFL.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Discussion: Concatenations of car and cdr
« Reply #17 on: April 22, 2005, 04:50:03 PM »
Maybe it's a customized nth function. :)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

daron

  • Guest
Discussion: Concatenations of car and cdr
« Reply #18 on: April 22, 2005, 04:50:52 PM »
Party pooper.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Discussion: Concatenations of car and cdr
« Reply #19 on: April 22, 2005, 04:55:11 PM »
Tim,
nth is what i use most of the time.
When it gets beyond car cdr I look in the book, big green tab hangin out.  :)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.