Call an object method: Difference between revisions
Content added Content deleted
m (→With Lightweight Processes: Changed module name.) |
m (→With Lightweight Processes: Minor formatting tweaks.) |
||
Line 461: | Line 461: | ||
besides fish-class/1, so it's not strictly necessary. |
besides fish-class/1, so it's not strictly necessary. |
||
When the id isn't known, generate one. |
When the id isn't known, generate one. |
||
" |
|||
(let* (((binary (id (size 128))) (: crypto rand_bytes 16)) |
(let* (((binary (id (size 128))) (: crypto rand_bytes 16)) |
||
(formatted-id (car |
(formatted-id (car |
||
Line 473: | Line 474: | ||
" |
" |
||
This function is intended to be spawned as a separate process which is |
This function is intended to be spawned as a separate process which is |
||
used to track the state of a fish |
used to track the state of a fish. |
||
" |
" |
||
(let ((move-verb '"swam")) |
(let ((move-verb '"swam")) |