Nathan Faubion
Nathan Faubion
Is there anything to resolve here? I think we should make a decision one way or the other.
I think it would be to just take an extensible record as an input.
Can you give me a short example?
OK, so you mean with the HTML DSL, and not specifically with Components? No there is not a way to do that, but things merge with "last one wins". So...
FWIW, it's probably possible now to map the Indexed DSL to record properties with `Union`, instead of using an Array.
My original report is slightly wrong. It is inlined sometimes, but I can't tell when.
I guess it does not work if you are using things like `while`, which is when you really need it most.
Oh! It's because I used `STArray.run`. If you use anything like that, and not ST.run directly, then inlining never happens for vars.
I think there are two ways to resolve this: * Don't export `run`-like utilities for other ST types * Account for all of these utilities in the inliner. I'm leaning...
It would require a general purpose inliner, and an annotation to force these functions to inline.