Numbers: the full set of types, and real literals that take their type

The numeric types table lists bigint, int128, uint128, float and decimal.
A real literal without a suffix is a double, float or decimal as the
context says. A boolean prints as #t.

🤖 Generated with [ECA](https://eca.dev)

Co-Authored-By: eca-agent <git@eca.dev>
This commit is contained in:
Linus Björnstam 2026-10-21 13:05:45 +02:00
parent bd71102c19
commit 481538a1cb
2 changed files with 22 additions and 13 deletions

View file

@ -1718,7 +1718,7 @@ Literal prefixes like @code{#map(...)} are reader-level hash macros. You can reg
(defun (main)
(println #card(Q hearts)) ;; Q♥
(println #card[10 spades]) ;; 10♠, either bracket works
(println (court? #card(K clubs))) ;; True
(println (court? #card(K clubs))) ;; #t
(with-each-card (c [#card(A spades) #card(2 hearts)])
(println #"a card: ${c}"))
0)