This is the message-oo Reference Manual, version 0.9.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:02:09 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
message-oo
Message-passing Smalltalk-style object system
Roman Klochkov <kalimehtar@mail.ru>
BSD
0.9.2
package.lisp
(file).
src.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
message-oo/src.lisp
package.lisp
(file).
message-oo
(system).
@
(macro).
defmessage
(macro).
+mangle+
(special variable).
bad-message
(condition).
find-message
(function).
fn
(generic function).
for-generic
(function).
generic
(generic function).
method-name
(function).
method-params
(function).
tap∶
(generic function).
Packages are listed by definition order.
message-oo
common-lisp
.
@
(macro).
defmessage
(macro).
+mangle+
(special variable).
bad-message
(condition).
find-message
(function).
for-generic
(function).
method-name
(function).
method-params
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Enables message pipelines
(@ l (:map (lambda (x) (process x)))) == (mapcar ...)
(@ l (:map func) (:reduce #’+)) == (reduce (mapcar ..))
It is smalltalk-like:
(defmessage container (:add item :after old-item)
(container-add-after container item old-item))
(:add item) -> message-oo.mangle:|ADD:|
(:add item :at pos) -> message-oo.mangle:|ADD:AT:|
:add -> message-oo.mangle:add
(:add item &rest rest) -> message-oo.mangle:|ADD::|
(:add item :at pos &rest rest) -> message-oo.mangle:|ADD:AT::|
list
)) ¶Returns function that can be applied to object
Example (mapcar (@ ’(:+ 3) :fn) (list 1 2 3 4)) => ’(4 5 6 7)
For debugging like in
(@ obj (:message1 ...) (:message2 ...) (:tap (lambda (x) (print x)))
(:message3 ...))
Jump to: | @
D F G M T |
---|
Jump to: | @
D F G M T |
---|
Jump to: | +
M S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
+ | |||
+mangle+ : | Private special variables | ||
| |||
M | |||
message : | Private conditions | ||
| |||
S | |||
Slot, message : | Private conditions | ||
Special Variable, +mangle+ : | Private special variables | ||
|
Jump to: | +
M S |
---|
Jump to: | B C F M P S |
---|
Jump to: | B C F M P S |
---|