summaryrefslogtreecommitdiff
path: root/notes/format.md
blob: f75773612f1d4f78afc3b9c4c32d85276bd6d75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.