small fixes

This commit is contained in:
2021-03-10 23:10:21 +01:00
parent 3f46ae9c94
commit 11ad7fc3bc
5 changed files with 31 additions and 35 deletions

View File

@@ -158,9 +158,13 @@
(print "list:" l)
(print "flatten-ed list:" (flatten l))
(print (sprintf "%.2f" (list 1.25)))
(print (sprintf "%.2f" '(1.23456)))
(print (sprintf "%d" '(10000000)))
(define q 1.23)
(print (sprintf "%.2f" (list q)))
(print (term-red "red text"))
(print (term-green "green text"))