started on Str.toNum

This commit is contained in:
Anton-4 2021-12-01 15:15:30 +01:00
parent 68e2701948
commit eaf4e57759
7 changed files with 29 additions and 0 deletions

View file

@ -702,6 +702,9 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
Box::new(list_type(u8_type()))
);
// toNum : Str -> Result (Num a) [ ExpectedNum a ]*
todo!();
// List module
// get : List elem, Nat -> Result elem [ OutOfBounds ]*