aboutsummaryrefslogtreecommitdiff
path: root/src/ffi.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffi.js')
-rw-r--r--src/ffi.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ffi.js b/src/ffi.js
index cb0ff5c..06303fc 100644
--- a/src/ffi.js
+++ b/src/ffi.js
@@ -1 +1,11 @@
-export {};
+export function toArray(list) {
+ return list.toArray();
+}
+
+export function map(thing, fn) {
+ return thing.map(fn);
+}
+
+export function length(thing) {
+ return thing.length;
+}