Conversation

Trying to avoid having top level commands in my dependently typed language. It's frustrating that you can't give a type to a signature easily! You need manifest fields or singletons or identity type trickery to make certain definitions public, or else you limit expressiveness. 🤔
2
8
You can't simply elaborate your program to a record term and a record type - you need to be able to check the record type while also knowing some of the definitions in the record term.
1
1
cannot be elaborated to the following record: record { A = U32, len = 3, data = ["a", "b", "c"], } : Record { A : Type, len : A, data : Array len String, ^^^ error: expected `U32`, found `A` }
2
1
Like, this kind of suggests that I might not _have_ to build singletons into my core type theory? But I might still need to do subtyping somehow, which could make type inference more painful. 😬