mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-14 09:24:02 +01:00
add racket init config
This commit is contained in:
parent
0f8a7fd359
commit
d1ab82fe9e
1 changed files with 6 additions and 0 deletions
6
.config/racket/racketrc.rktl
Normal file
6
.config/racket/racketrc.rktl
Normal file
|
@ -0,0 +1,6 @@
|
|||
(current-print (λ (x)
|
||||
(cond
|
||||
[(void? x) #f]
|
||||
;; Also show fractions as decimals.
|
||||
[(and (rational? x) (not (integer? x))) (printf "~a = ~a" x (exact->inexact x))]
|
||||
[else (pretty-print x)])))
|
Loading…
Reference in a new issue