Hisham Muhammad

Results 646 comments of Hisham Muhammad

Closing this PR since I have implemented `where` annotations for discriminating `record` and the new `interface` types in the `next` branch, which allows for discriminating records in unions! https://github.com/teal-language/tl/tree/next

> Existing libraries may use any key name for the tag. For instance, in @hishamhm's example above, the tag is called widget_type, whereas SLAXML calls it type. I think the...

> Multiple inheritance seems clunky @euclidianAce You can merge multiple interfaces with `is` (e.g. `record R is I1, I2, I3 where ...`) but your `where` expression is up to the...

> I propose that with is to be followed by an expression of type function(parent_record): boolean. The function will be called wherever a corresponding is expression is found. @fgaz I...

The test suite does work on Windows now, it's running regularly on the Github Actions CI!

Moving this to Discussions for better visibility -- someone might be inspired to work on it!

> I think it would be very useful to at least allow re-defining the standard library completely. As an example, in the project I'm working on, there is a explicit...

@rosingrind thank you for the feedback! I guess the next step would be to move release asset generation to Github Actions, so we could add a macos task there.

The documentation is outdated. LuaRocks used to check permissions and pick the install location based on that, but people got confused with the "smart" behavior. Now it tries the global...

@Zash I don't think the code is there anymore. One would have to dig it back to life from the log.