dan
2018-5-2 07:32:47

@pocmatos I think raco pkg config will list them


timmstelzer
2018-5-2 12:24:41

@timmstelzer has joined the channel


samth
2018-5-2 13:55:23

@pocmatos you just want raco pkg config catalogs


soegaard2
2018-5-2 14:35:44

@pocmatos There are some small examples of Nanopass here: https://github.com/nanopass/nanopass-framework-racket/tree/master/tests


pocmatos
2018-5-2 14:41:56

@samth thanks


pocmatos
2018-5-2 14:42:10

@soegaard2 great.


cosmez
2018-5-2 15:59:17

are streams in racket memoized?


cosmez
2018-5-2 16:00:21

out of curiosity, i was re-reading streams in SICP



notjack
2018-5-2 17:00:04

assuming you mean streams from racket/stream


cosmez
2018-5-2 17:00:39

yes, thanks!


ben
2018-5-2 17:11:27

hey, maybe you can add an extra precondition to bind to say "f has a unconstrained domain, but whatever the domain is it should (procedure-arity-includes? f (length Vs))


lexi.lambda
2018-5-2 19:48:07

@mflatt Do you know/remember why the local-expand stop list makes an exception when it only contains the identifier module*? It seems like this special case was added in Racket 5.3, when submodules were added, but the submodules paper doesn’t seem to touch upon that detail.


samuel.falcon.fdez
2018-5-2 22:46:55

@samuel.falcon.fdez has joined the channel


mflatt
2018-5-3 01:26:42

@lexi.lambda The identifier module* is allowed by itself because (1) that works out, since nothing in a module can rely on the content of a submodule written with module*, and (2) something needed this “everything but module*” mode — looks like it was probably Typed Racket.


lexi.lambda
2018-5-3 01:28:27

I really only asked because I ran into a situation where I needed it today, and I was curious if the reason I needed it was the reason it was initially added or if it was coincidental.


lexi.lambda
2018-5-3 01:28:45

I wonder if @samth knows why it’s necessary in TR.


mflatt
2018-5-3 01:30:09

TR needs to expand, typecheck, and transform a module body before the module is potentially imported into a module* submodule.


lexi.lambda
2018-5-3 01:32:48

That makes sense. It wasn’t the reason I needed it today, though. I had an issue where re-expanding a module* submodule a second time would add the module*’s scopes to syntax that had already been expanded in that module, which ended up causing ambiguous binding errors when it was added to syntax that came from uses of quote-syntax in the enclosing module (and therefore had both scopes after expansion).