Conversation

Yeah! It gets a bit weird! Clojure lets you have ‘namespaced symbols’ but that requires a top level namespace thingy. Where as I would love to be able to get rid of the top level ‘command’ language (like in Dhall and Nix)
1
2
Similar problem in my formalism: lambdas are scope + readerish effect. But definitions of ops are functions. Where do you tie the knot? (Currently thinking about jumps instead of functions.)
1
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
like, what are records, telescopes, and functions actually doing? 😳 - somehow a record field is 'stronger' than a function parameter - ie. a function can be constructed even if there is no way of providing a parameter, where as a record kind of *insists* that a field is present.
2
1
this comes up because I'm pondering bundled vs unbundled modules - and type parameters vs associated types… but yeah I have no idea what I'm doing so probably should step away from the theory 😟
1
I don’t know what bundled vs. unbundled modules are. For type parameters vs. associated types, I guess the latter are existentially bound?
1
tbh I think it's not just a dependently typed thing - it's kind of common to languages with simpler types systems too. Sometimes I struggle with the associated type vs parameter question In Rust too, for example.
1
Show replies