Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
USING: accessors kernel math prettyprint sequences words ;
|
||||
IN: rosetta-code.unknown-method-call
|
||||
|
||||
TUPLE: foo num ;
|
||||
C: <foo> foo
|
||||
GENERIC: add5 ( x -- y )
|
||||
M: foo add5 num>> 5 + ;
|
||||
|
||||
42 <foo> ! construct a foo
|
||||
"add" "5" append ! construct a word name
|
||||
! must specify vocab to look up a word
|
||||
"rosetta-code.unknown-method-call"
|
||||
lookup-word execute . ! 47
|
||||
Loading…
Add table
Add a link
Reference in a new issue