Merge branch 'master' of lukelau.me:/srv/git/scheme
[scheme.git] / abi.md
diff --git a/abi.md b/abi.md
index eafb1748dbe009d527203948dd705cbed99ce486..c2ff16575c1da283f8c4d9c63a06d24c5ebe96ce 100644 (file)
--- a/abi.md
+++ b/abi.md
@@ -11,6 +11,15 @@ when allocating, use first free block, move up free pointer
 when freeing, do ???
 
 
+# ownership
+
+```
+(let ([s "hello"])  <- s should be a linear string
+  (mkpair
+    (lambda () (print s))               <- two references to s?
+    (lambda () (print (reverse s)))))
+```
+
 # closures
 
 * lambda: actual function containing the code