Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4592260
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:30:48+00:00 2026-05-21T22:30:48+00:00

(defun describe-paths (location edges) (apply #’append (mapcar #’describe-path (cdr (assoc location edges)))))

  • 0
(defun describe-paths (location edges) 
(apply #'append (mapcar #'describe-path (cdr (assoc location edges)))))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T22:30:48+00:00Added an answer on May 21, 2026 at 10:30 pm

    What are the similarities? Or, is there another question lurking here?

    (Links from elisp, because that is what I know. The quotes are just excerpts and the links contain examples which may or may not be relevant in a particular “Lisp”.)

    mapcar

    mapcar is a function that calls its first argument with each element of its second argument, in turn. The second argument must be a sequence.

    apply (in Calling Functions)

    apply calls function with arguments, just like funcall but with one difference: the last of arguments is a list of objects, which are passed to function as separate arguments, rather than a single list. We say that apply spreads this list so that each individual element becomes an argument.

    Happy coding.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote the function (defun test () (let ((str1 foo) (str2 bar)) (loop for
This is my function: (defun MyFunction(input) (let ((NEWNUM (find input num))) (if (find input
I have the following code (defun avg-damp(f) #'(lambda(x) (/ (+ (funcall f x) x)
(defun returnFirstCharacter(p) (if (symbolp p) (char (symbol-name p) 0) nil) ) (defun returnRestCharacters (p)
I have a emacs mode hook code (defun php-mode-hook () (setq tab-width 4 c-basic-offset
I have a function to compress my pdf file using pdftk: (defun compresspdf (filename)
Say I have a function that takes a list and does something: (defun foo(aList)
(defun r (list) (let ((o ())) (dolist (x list o) (cons o x)))) (r
Is it possible to write an interactive defun with code r that has an
I keep getting random errors when compiling this function: (defun gcd (a b) (if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.