This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

help needed

2 posts · 8623 views

actually I am new programmer in lisp I have question how can I Write a function lists all of the input VARIABLES

your help is appriciated :D

Re: help needed

This is an implementation of the standard procedure *list*. I believe it does what you want.
(define (my-list . args)
  args)

(my-list 1 2 3 4) ; ==> (1 2 3 4)
Notice that you have posted this in the Scheme section so this is a Scheme implementation. Scheme uses the word procedure instead of function.
I'm the author of two useless languages that uses BF as target machine.
Currently I'm planning a Scheme compiler :p