The issue isn't actually with the `(_ (x y))` pattern---it's with the
`#'(require (x y))` template.
When `require` is passed a module path like `(file "test1.rkt")`, it
introduces any identifiers [just `ok` in this case] with the same lexical
context of the module path itself[1].
The issue is tha
I try to make a macro, that expands to the require form.
I put in test1.rkt
```
#lang racket/base
(provide ok)
(define ok 1)
```
I put in test.rkt
```
#lang racket
(define-syntax (req1 stx)
(syntax-case stx ()
[(_ x) #'(require x)]))
(define-syntax (req2 stx)
(syntax-case stx ()
[(_
Dear Racketeers,
We are glad to present you a new differentiable programming language called
Landau.
https://gitlab.iaaras.ru/iaaras/landau
# Description
Landau is a LANguage for Dynamical systems with AUtomatic differentiation.
Landau is a Turing-incomplete statically typed domain-specific
d
Trying to generate URLs for linking into the Racket docs. I get the error
below, but only when the package/identifier combo in question are installed
in user scope, and only when using the `#:external-root-url` keyword
argument:
> (define x (xref-binding->definition-tag (load-collections-xr
Yes, thank you
I ended up using make-bytes with the size and then doing a memcpy. I forgot
that i could use a byte string as the memcpy destination.
Nate
On Sun, Jul 12, 2020 at 11:56 AM Sam Tobin-Hochstadt
wrote:
> Copying is probably the best option -- this is discussed some in the
> follow
Copying is probably the best option -- this is discussed some in the
following readme:
https://www.github.com/racket/racket/tree/master/racket%2Fsrc%2Fcs%2FREADME.txt
Sam
On Sun, Jul 12, 2020, 12:16 PM Nate Griswold wrote:
> Maybe i have been up too long, but what is the best replacement for
>
Maybe i have been up too long, but what is the best replacement for
make-sized-byte-string in Racket CS? I am using a library that still calls
it and is failing on me.
I don't mind just copying the whole thing. I could write a function to do
it i was just thinking there would be something there al
I figured out what the issue was in my embedded racket app on mac os x
(with the misleading out of memory error). Chez was dying in an mmap in
segment.c that was asking for PROT_EXEC memory. The solution is either to
disable the hardened runtime in Xcode or to leave it on but check "Allow
Unsigned
8 matches
Mail list logo