I want a language with staging and a module system though - getting a bit sick of traits and their schenanigans
; __ ;
Conversation
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
A bit unrelated, but the other day I noticed Rust also has higher rank *constraints* (e.g. for<'a> &'a T: Send) but only for lifetimes, not types. AFAIK, even Haskell doesn't have this, although you can emulate it
3
Of course traits and type classes are bad anyway so this is a bad feature
1
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
ooh, that sounds fun. I want some sort of trait system that uses modules (or actually, dependent records) - kinda like that modular implicits thing
2
1
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
Dunno if 's thing did that - need to get my head around some of the fancier stuff in that paper 🤔
1
But yeah, good thought on the QTT stuff - also curious about the stuff the people have been working on in GrTT - which integrates some of their fancy graded modal stuff with dependent type systems… not sure if that is useful at all for first class module systems.
Their graded modal dependent type system stuff is here:

