lexi-lambda / envy

An environment variable manager for Racket applications
https://lexi-lambda.github.io/envy/envy.html
17 stars 1 forks source link

Config hash? #8

Open jackfirth opened 7 years ago

jackfirth commented 7 years ago

Sometimes I'd like to do something reflectively over all bindings defined in a #lang envy module, like write them to a file, compute a signature of the current config, or store them in some global mutable data structure. It would be nice if #lang envy defined a hash table mapping symbols to the parsed env values.

lexi-lambda commented 7 years ago

Technically, I think you can implement this yourself dynamically with module->exports. I could understand a desire to have it built-in, though.