From 4e88891235664917a2db44b84c0bbeeb13dd71ad Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Wed, 19 Feb 2025 23:29:26 +0100 Subject: update --- html/notes/format.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 html/notes/format.md (limited to 'html/notes/format.md') diff --git a/html/notes/format.md b/html/notes/format.md new file mode 100644 index 0000000..39da84a --- /dev/null +++ b/html/notes/format.md @@ -0,0 +1,12 @@ +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. -- cgit v1.2.3