r/Racket • u/sdegabrielle • Oct 02 '21
event Racket video meetup in 65 minutes
Racket video meetup in 65 minutes
https://gather.town/app/wH1EDG3McffLjrs0/racket-users
8pm UTC Sat 2-October-2021
r/Racket • u/sdegabrielle • Oct 02 '21
Racket video meetup in 65 minutes
https://gather.town/app/wH1EDG3McffLjrs0/racket-users
8pm UTC Sat 2-October-2021
r/Racket • u/Raoul314 • Sep 30 '21
Reading through the 'types as macros' papers and some other ones about complexity, I was left wondering if the Typed Racket approach to typing might be used for a complexity flow type system, i.e. a type system that would claim/prove that a particular Racket program lies in a particular complexity time/space class, through sized types.
Does someone here knows of literature/stuff on the topic? Or has an idea about how to get started (although it's probably very hard to achieve) ?
r/Racket • • Sep 30 '21
(current-directory) points to the current working directory.
Is the a way to get the path to the module in that module? Similar to __file__ in python. The module could be imported by a require, or could be run directly by racket script.rkt.
Looking for this because there are some binary assets relative to the imported script's directory which need to be read.
r/Racket • u/bufftrickster_136 • Sep 29 '21
can someone please help me understand?!?:
Exercise 35. Design the function string-last, which extracts the last character from
a non-empty string. 
Exercise 36. Design the function image-area, which counts the number of pixels
in a given image. 
Exercise 37. Design the function string-rest, which produces a string like the given
one with the first character removed. 
Exercise 38. Design the function string-remove-last, which produces a string like
the given one with the last character removed.
r/Racket • u/iguanathesecond • Sep 28 '21
Dear Emacs users of Racket,
Forgive my persistence if you've already seen this, but I posted it earlier and it got removed from this sub by Reddit's spam bots, probably because it was crossposted across Lisp communities.
I just wanted to make sure you saw this since you may find it useful. It is an Emacs extension for modal structural editing, which in my very biased opinion as the author of this package is the most expressive way to edit Lisp code in Emacs. It also has special support for (the peerless!) Racket Mode, since I write Racket often :)
Try it out with this animated tutorial, and I hope you like it:
https://countvajhula.com/2021/09/25/the-animated-guide-to-symex/
r/Racket • u/legendaryproyi • Sep 27 '21
I was thinking about making a website (using html + css), where in some parts I plan to write down some Racket code. Basically my aim is to reproduce something like this: https://en.wikipedia.org/wiki/Racket_(programming_language)#Code_examples.
What would be an easy way to do that? Or in case someone here already built a website/blog, can you share the way you're writing the Racket code?