“[Rather than redesigning the type checker] they are redesigning the standard library to try and skirt around the issue.” Cry
-
-
@jckarter@schwa@cocoawithlove "rewrite" is a bit harsh, I think refactoring with an eye toward simplifying core concepts is more like it -
@jckarter@schwa@cocoawithlove Once some representational issues are fixed it will be easier to add heuristics for more exponential cases -
@slava_pestov@jckarter@schwa@cocoawithlove I'm skeptical of a rewrite of that type checker. But there are algorithmic wins to be had - View other replies
-
@dgregor79@slava_pestov@jckarter Maybe I missed this conversation earlier, but do y’all think@cocoawithlove’s idea would work? - View other replies
-
@jtbandes@dgregor79@slava_pestov@cocoawithlove so it's hard to make changes with confidence about what it will or won't break. -
@jckarter@jtbandes@dgregor79@cocoawithlove As I understand it there are improvements that can be made without changing behavior too - View other replies
-
@slava_pestov@jtbandes@dgregor79@cocoawithlove Modeling functions should at least be less slushy with tuple splats and labels banished
-
-
-
@jckarter@schwa@cocoawithlove Is there going to eventually be a proper design for global associated type witness inference? -
@austinzheng@jckarter@schwa@cocoawithlove global inference of type witnesses requires architectural changes to work properly. -
@dgregor79@austinzheng Would that fall under finishing the iterative decl checker or is there more to it than that? -
@slava_pestov@austinzheng that's a prerequisite. But you actually need to solve for (potentially) all of the type witnesses simultaneously -
@dgregor79@austinzheng Across multiple conformances or just one? -
@slava_pestov@austinzheng if not all, then you need to define an ordering, because associated types get inherited
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Jonathan Wight
Joe Groff
Slava Pestov
Doug Gregor
Jacob Bandes-Storch
Austin Zheng