Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Cons

Function: cons (<expr>, <list>) Returns a new list constructed of the element <expr> as its first element, followed by the elements of <list>. cons also works on other expressions, e.g. cons(x, f(a,b,c)); -> f(x,a,b,c).

There are also some inexact matches for cons. Try ?? cons to see them.

(%o1)                                true
(%i2) 

Related Examples

cons-if-lambda-rest-reverse

:lisp (defun enum-int...

:lisp (enum-interval ...

:lisp (reduce '+ (enu...

Calculate

cons-lambda-let-subst

:lisp (defun pairs (i...

:lisp (defun separate...

:lisp (setf a (pairs ...

Calculate

cons-let

:lisp (defun pairs (i...

:lisp (pairs '(1 2 3 ...

:lisp (let ((seq '(1 ...

Calculate

cons-if

:lisp (defun nodes-de...

Calculate

cons-first-rest

_append_(A, B) := if ...

_append_([1,2,3],[7,8...

Calculate

cons-if-labels-let

:lisp (defun r (n) (l...

Calculate

cons-lambda-let-not-product

:lisp (defun mappend ...

:lisp (defun list-rec...

:lisp (defun pairs (i...

Calculate

cons-if-labels-let

:lisp (defun r (n) (l...

Calculate

cons-kill-makelist

a:[makelist(n, n, 1, ...

b:makelist(n, n, 1, 10);

c:makelist(makelist(n...

Calculate

cons-if-lambda-length-rest-reverse

:lisp (defun enum-int...

:lisp (enum-interval ...

:lisp (reduce '+ (enu...

Calculate