aboutsummaryrefslogtreecommitdiff
path: root/forth/types.fs
diff options
context:
space:
mode:
Diffstat (limited to 'forth/types.fs')
-rw-r--r--forth/types.fs4
1 files changed, 4 insertions, 0 deletions
diff --git a/forth/types.fs b/forth/types.fs
index 75996f8..7f6b6ea 100644
--- a/forth/types.fs
+++ b/forth/types.fs
@@ -184,6 +184,10 @@ deftype* constant MalList
def-protocol-method conj ( obj this -- this )
+MalType%
+ cell% field MalVector/list
+deftype* constant MalVector
+
\ Examples of extending existing protocol methods to existing type
MalDefault
extend conj ( obj this -- this )