|
Parses an integer from a string
|
|
|
Truncates toward negative/positive infinity
|
|
|
Rounds to the nearest integer
|
|
|
Modulus/remainder of a truncating division
|
|
|
Returns a new value (inc/dec)remented by a number
|
|
|
Macros to (inc/dec)rement in place
|
|
|
Mathematical value equality (types ignored)
|
|
|
Order comparison
|
|
Returns a formatted output string when the destination is
nil |
|
Access elements with an integer index
|
|
|
Count the appearances of an element
|
|
|
Finds an item or returns
nil |
|
|
The first index of an element
|
|
|
Returns the start position of a sequence in another sequence
|
|
|
Removes all the occurrences of an item
|
|
|
Replaces all occurrences of an item
|
|
|
Successively applies a function to each element of a list
|
|
|
Like
mapcar, but its function receives a cons cell instead of its element (therefore, the function has access to the rest of the list) |
|
|
Like
mapcar, but the results are combined into a list |
|
|
Like
mapcan, but applied to maplist |
|
Object Oriented
|
All values in a Common Lisp program are instances of some class. Furthermore, all classes are organized into a single hierarchy rooted at the class
T. |
|
Starting a project
|
|
Returns an anonymous function
|
|
|
Immediately returns a value from a function (or a
block) |
|
|
Invokes a function from a function object
|
|
|
Works like
funcall, but receives the arguments as a list |
|
|
Different ways to capture function arguments
|
|
|
Produces formatted output to stdout when the destination is
t |
|
format language |
|
a, s, |
Interpolate argument in human readable format; interpolate as Lisp readable
|
%, & |
Newline; newline if not at the beginning of a line
|
|
Defines an abstract operation (polymorphism)
|
|
|
Defines an implementation of a generic function
|
|
|
Similar to an invocation to a super-class method
|
|
|
New named class; some slot options are:
:reader, :writer, :accessor, :initarg, :initform, :documentation, :allocation |
|
|
Returns the value of slot in the object (
setf-able) |
|
|
Binds a slot/accessor to a symbol that can be used in its body
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.