Ozzie Gooen
Ozzie Gooen
@berekuk I'd be curious to get your quick take on the above sometime.
Why "@@" is weird: ``` @name() myVar = 34 @@name = 30 ```
// node_version = 3.30
I guess a different way this could work is something like: ``` @name("My great model") @doc("Long doc") __file__ //Refers to current file. .... __file__ = __file__ -> Tag.showAs(Calculator) ```
Good find, I think I know why this is, should be easy to fix. Thanks! (This stuff is tricky to test now, so it's more hacky than other code)
Structs could be really nice for this, maybe that should be prioritized soon.
Would go well with: https://github.com/quantified-uncertainty/squiggle/issues/2932
Yea, this is weird. I wouldn't have expected this with the implementation we used. Thanks for filing!
That was my impression. My point was just that this detail should be added to the docs.
@mlao-pdx both of those examples work for me. Do you mean you're trying something like, ``` xport version = "0.0.0" export laborRates = {fte: 10-20, contract: 20-30} foo = 45...