summaryrefslogtreecommitdiff
path: root/notes/250219-format.md
blob: a7cd0199e26b7df621b71c288b4303a0b5ac575a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# I hate 'display'

_2025 February_

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.