summaryrefslogtreecommitdiff
path: root/notes/format.md
diff options
context:
space:
mode:
Diffstat (limited to 'notes/format.md')
-rw-r--r--notes/format.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/notes/format.md b/notes/format.md
new file mode 100644
index 0000000..f757736
--- /dev/null
+++ b/notes/format.md
@@ -0,0 +1,14 @@
+# I hate 'display'
+
+WIP WIP WIP
+
+(format "template" arg ...) ;sprintf
+(format obj) ;like write but returns string
+(format! "template" arg ...) ;printf
+(format! arg) ;write
+
+The ones with a string template are special forms and process the
+template string at compile time and ensure correct number of args.
+
+Need a way to let a special form's name also appear as an identifier
+like Guile does it with record accessors and shit.