summaryrefslogtreecommitdiff
path: root/notes/format.md
blob: 37d60178dff538afa8e610563fd71333015abf4b (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.