The main trick in this case is to recognize `define-values` (which is
what `define` expands to) instead of `define`. That's because
`define-values` propagates syntax arming to its identifiers and
right-hand side, which means that your macro is allowed to pull it
apart.
You'll also need to use an e
The following code produces '(1 2 3 4)
(define-syntax (collect stx)
(syntax-case stx (define)
[(_ (define id val) rest ...)
#'(let ([id val])
(collect rest ...))]
[(_ (macro arg ...) rest ...)
(syntax-local-value #'macro (lambda () #f))
(let ([expanded (local-expa
On 2020-04-16 05:19:26 -0700, unlimitedscolobb wrote:
>I started a discussion on NixOS Discourse here:
>
> https://discourse.nixos.org/t/racket-does-not-find-documentation-after-update/
>Would you mind submitting a PR from your `racket-enable-useprefix` branch?
>If you don't have ti
I am also a newcomer from industry. :)
Here's my two cents.
While the new web page looks pretty, it still needs to answer following
questions. Usually people cares about the most.
1. Can this thing solve my problem? (current and future)
2. Why would I choose (to invest my time on) this language
Hi Asumu and great thanks for your answer!
On Thursday, April 16, 2020 at 12:42:46 AM UTC+2, asumu wrote:
>
> On 2020-04-14 15:53:09 -0700, unlimitedscolobb wrote:
> >Turns out this file does not even exist on my machine, but
> >
> /nix/store/za0k7s00bg3v5sasyqalv12ii7pxjbjn-racket-7.6/s
Hey folks!
This is technically slightly outside the remit of this list, but I felt it
proper to give credit where it's due.
minicosm is an FP-oriented game engine for the browser that was
significantly inspired by the approach in Racket's universe.
https://github.com/jarcane/minicosm
The idea h
6 matches
Mail list logo