shortened ::* to :*
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-02-03 18:50:10 +09:00
parent 9aa1bde1a1
commit c2928615a4
12 changed files with 39 additions and 23 deletions

View File

@ -51,7 +51,7 @@
default return value for some class methods.
::: method -> return what??
::* method -> return the new instance
:* method -> return the new instance
normal method -> return the last evaluated value?
@ -148,7 +148,7 @@ send the message dump to the object pointed to by x with arguments 1, 2, 3.
(defclass P
| x y |
(defun ::* new ()
(defun :* new ()
(set x 1)
(set y 1)
(return self)
@ -158,7 +158,7 @@ send the message dump to the object pointed to by x with arguments 1, 2, 3.
)
(defclass X ::: P
| x y |
(defun ::* new (a b)
(defun :* new (a b)
(super:new)
x = a
y = b