Hello! Is there a way to parameterize a module instance? The intent is to have procedures in “utils.rkt” to take into account a context represented here by “config.rkt” something like:
utils.rkt
---------
#lang racket
(require "config.rkt")
(require "module.rkt")
(define parameterized_module (module config))
(provide parameterized_module)
some_other_module.rkt
---------------------
#lang racket
(require "utils.rkt")
…
@contact you can use units if you really want parametrized modules, but mostly I’d just recommend using a function
@samth Ok, thanks!
I thought I might take this issue, since it appears to be fixed:
https://github.com/racket/racket/issues/1434
How do I assign it to myself? Perhaps there is an explanation that I didn’t find.
@paul unfortunately you can’t be assigned issues unless you’re a committer to the repository
@lucagiuggia has joined the channel
@samth Aha. Matthew thought it would make sense to try to close a few of the older issues. How should I proceed?
@paul if you comment on them that they are no longer relevant or are fixed then I can click the close button