The previous message here prompts this ...
I have some modules with paths "A1.rkt" ... "An.rkt". In the interaction
window of DrRacket I can require any or all of them and I believe them
to be correct.
Now suppose I have a function (F) that produces one of those paths. I
try (dynamic-requir
In order to allow static compilation, the path in a (file …) require must be a
literal string.
It sounds like you might be looking for “dynamic-require” ?
Apologies if I’m misunderstanding you.
John Clements
> On Feb 2, 2021, at 3:20 PM, thro...@gmail.com wrote:
>
> I can't seem to build p
I can't seem to build paths the way require wants them on windows.
I must be missing something basic.
Tried a bunch of things (can't remember them all), here's the last:
(Racket versions 8.0.0.4--2021-02-01 and 7.8)
(define wrk_dir #"C:/Temporary/zDEL3/TEST_BATCH/")
(require(file(bytes->strin
Unfortunately this isn't supported yet. Right now, you can use struct
type properties directly to build your own generics, but you can't use
the generics library.
Sam
On Sat, Jan 30, 2021 at 4:20 AM Stuart Hungerford
wrote:
>
> Hi Racketeers,
>
> Is there any way to have Racket code using `defin
Thank you, I just implemented a UCBLogo compatible `arc`:
(define (arc angle radius)
(let* ([alpha (* 2 (asin (/ 1 (* 2 radius]
[rangle (* pi (/ angle 180))]
[n (abs (/ rangle alpha))]
[astep (if (> angle 0) (- alpha) alpha)])
(tprompt
(move radius)
(t
5 matches
Mail list logo