On Wed, Aug 15, 2018 at 9:22 AM, Matthias Felleisen
wrote:
>
> Also, do take a look at struct/c.
>
I don't think it covers the same need. It creates a contract that will
review a struct after it has been created and identify whether or not it is
well-formed, but it will not prevent you from
Brilliant. This is exactly what I needed, thank you.
On Wed, Aug 15, 2018 at 1:31 AM, gfb wrote:
> You're losing the binding information by doing syntax->datum. Here's a
> quick change to get you unstuck:
>
> ...
>(only-in racket/list partition flatten
> append-map)))
Also, do take a look at struct/c.
> On Aug 15, 2018, at 1:31 AM, gfb wrote:
>
> You're losing the binding information by doing syntax->datum. Here's a quick
> change to get you unstuck:
>
> ...
>(only-in racket/list partition flatten append-map))) ;
> Include
You're losing the binding information by doing syntax->datum. Here's a
quick change to get you unstuck:
...
(only-in racket/list partition flatten append-map)))
; Include append-map
...
(partition (syntax-parser [(flag _) (syntax-e #'flag)])
4 matches
Mail list logo