class Cryslisp::LispList

Defined in:

lisp_value.cr

Constructors

Instance Method Summary

Instance methods inherited from class Cryslisp::LispValue

to_s : String to_s

Constructor Detail

def self.new(elements : Array(LispValue)) #

[View source]

Instance Method Detail

def elements : Array(LispValue) #

[View source]
def empty? : Bool #

[View source]
def first : LispValue #

[View source]
def length : Int32 #

[View source]
def map(&block : LispValue -> LispValue) : LispList #

[View source]
def rest : LispValue #

[View source]
def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]