mflatt
2017-8-27 13:15:56

@leif Async channels (or any operations that can block) cannot be used in atomic mode


mflatt
2017-8-27 13:20:02

For your earlier question, if a C function returns a string that needs to be freed, then the only way to push the call to free to Racket’s responsibility is to use a finalizer


d_run
2017-8-27 18:21:27

have a super noob raco question but the docs don’t help me. How do I get raco setup to install dependent packages from info.rkt?


notjack
2017-8-27 21:02:40

@d_run raco setup only compiles files and collections, it doesn’t know anything about packages, you need to use raco pkg install for that


notjack
2017-8-27 21:02:53

raco pkg install --link /some/dir will let you install a local package


notjack
2017-8-27 21:03:10

and using the --auto flag will automatically install all dependencies (by default it prompts you asking if you want to install them)


d_run
2017-8-27 21:03:36

thinking of a way to be able to scan info.rkt for deps and pass them to raco pkg install


notjack
2017-8-27 21:03:55

raco pkg install should do that automatically


d_run
2017-8-27 21:04:02

hmm ok


notjack
2017-8-27 21:04:38

if you’ve already installed the package and then added new dependencies to info.rkt though, I think you need to do something with raco pkg update instead


d_run
2017-8-27 21:05:16

ok, for some reason never grokked that from the docs


notjack
2017-8-27 21:05:38

the docs for package management and installation for package authors could use some better organization


lexi.lambda
2017-8-27 21:06:17

imo it’s something of an oversight that raco setup does not ensure deps are still properly installed, even if a local info.rkt file changes after the package is initially installed


lexi.lambda
2017-8-27 21:06:33

only raco pkg install and raco pkg update will check for missing deps


notjack
2017-8-27 21:06:58

and it’s even weirder because raco setup can check to see if your packages have missing deps…