
A cross product?

That’s what I meant.

I find one. A reasonable easy way to make one, is to modify one of (say Chris’s) solution from StackOverflow to use sequences rather than lists. https://stackoverflow.com/questions/27770566/racket-map-cartesian-product-thing

“I find one” -> “I can’t find one”

Nice, compact solution.

Racket has a cartesian-product
function, but maybe there should be a streaming variant, too. http://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Flist..rkt%29._cartesian-product%29%29

same name?

Oh, I forgot about that. I don’t know that I actually recommend that library…

Ok, related question: suppose I have a file provider.rkt
that provides foo
and bar
, and a file requirer.rkt
that requires it. How could I implement “Jump to definition (in other file)”? Assuming that I could read both files, how can I convince Racket to give me the transitive binding site, rather than just the location of the require
?

I’m guessing it’s syncheck:add-jump-to-definition, or syncheck:add-definition-target, but I don’t quite understand those yet

@wonxx023 has joined the channel

…I might’ve gotten it working, or at least plausibly so.

@mflatt Do you think it might be reasonable to use (pango_cairo_font_map_new_for_font_type CAIRO_FONT_TYPE_FT)
in the dc
s get-fontmap
function, rather than (pango_cairo_font_map_new)
, which is what we currently use?

Because if we use the pangoft bindings, it looks like we can use fontconfig to allow pango to draw custom fonts.

(Instead of requiring them to be install system wide like we do now.)