make List.first/List.last work

This commit is contained in:
Folkert 2020-12-24 01:00:37 +01:00
parent 679ef168b1
commit 917ec9c44c
4 changed files with 51 additions and 10 deletions

View file

@ -147,6 +147,9 @@ pub enum RuntimeError {
/// When the author specifies a type annotation but no implementation
NoImplementation,
/// cases where the `[]` value (or equivalently, `forall a. a`) pops up
VoidValue,
ExposedButNotDefined(Symbol),
}