[racket-users] Macros expanding to require forms

2020-11-12 Thread Veit Heller
Hello, I’m suspecting I’m getting a little turned around by phase levels and where `require` comes in: it seems to be impossible to write a macro that expands to a valid `require` (it doesn’t throw an error, but the functions aren’t defined either). What am I missing? At what phase level does

Re: [racket-users] Macros expanding to require forms

2020-11-12 Thread Veit Heller
er 2020 at 13:26:48 UTC+1 sorawe...@gmail.com wrote: > See > https://docs.racket-lang.org/reference/stxtrans.html#%28def._%28%28quote._~23~25kernel%29._syntax-local-introduce%29%29 > for > an example program that requires a library via a macro. > > On Thu, Nov 12, 2020 a

[racket-users] Re: calculations with arrays

2020-11-18 Thread Veit Heller
Hey, I’d say that depends on what you’re trying to do, but you might want to take a look at the math[1] library, specifically math/array[2] and math/matrix. Hope that helps! If you need more specific help, it might be good to speak a little bit about your use case. Cheers, V [1] https://docs