Re: [racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Oualmakran Yassine
Sure. I would like to create a document with a repetitive structure in scribble. Let say I have something like this: @section{First section} Some text ... @subsection{First subsection} @itemlist... @section{Second section} Some text ... @subsection{Second subsection} @itemlist... etc. I would

Re: [racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Oualmakran Yassine
nwase a écrit : > > What's wrong with `match`? It seems to be what you want. Macro is not > going to help you here. > > > > On Mon, Jul 6, 2020 at 3:47 AM Oualmakran Yassine > wrote: > >> Hello, >> >> I have some difficulties when trying to create

[racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Oualmakran Yassine
Hello, I have some difficulties when trying to create a macro doing some pattern matching on a hash-table and was hoping finding some help. The macro is taking a hash-table as parameter and I would like to extract the value for the key 'name. I did several trials of my macro with what should be,