sorawee
2020-11-1 07:16:03

~a


sorawee
2020-11-1 07:16:25

There are other formats too: ~s, ~v, etc.


sorawee
2020-11-1 07:16:56

You can think of these as shortcuts for (lambda (x) (format "~a" x)), (lambda (x) (format "~s" x)), … (though actually they are more expressive than that)


laurent.orseau
2020-11-1 08:46:20

You can use format which is the same as printf but returns a string instead.


laurent.orseau
2020-11-1 08:53:00

You shouldn’t lose anything if you upgrade racket, but in doubt you should as always backup your programs on a usb key or in the cloud.


laurent.orseau
2020-11-1 08:53:46

Even you drracket prefs and quickscripts will be kept (unless you manually erase the tacket prefs directory)


cris2000.espinoza677
2020-11-1 20:50:44

i think what i really want is a way to automatically install upgrade all packages when i switch to that version


samth
2020-11-1 20:51:01

That’s raco pkg migrate


cris2000.espinoza677
2020-11-1 20:51:16

i had no idea about that command


cris2000.espinoza677
2020-11-1 20:51:32

sooo… i install first the new version then i use raco pkg migrate?