What is an example of an inhabitant of Type 1
that is neither Type
nor an inhabitant of Type
? I wasn't able to come up with anything while exploring in the Idris REPL.
To be more precise, I'm looking for some x
other than Type
that yields the following:
Idris> :t x
x : Type 1
I'm not an Idris expert, but I'd expect that
is also in
Type 1
.I'd also expect
and if you're very lucky (not so sure about this one)
to be that large.
The idea is that you can do all type-building operations at every level. Each time you use types from one level as values, the types of those structures live one level up.