Support some, ok and err wrappers and untyped function inputs

This commit is contained in:
paul committed 2026-10-18 18:18:31 -04:00
1 parent 6e4f9cd65a
commit 79533e9537
20 files changed
+36187 -35406

No files matched your search

-1
View File
@@ -1 +0,0 @@
identity :: @ value { value }
+1
View File
@@ -0,0 +1 @@
value :: @ x: i32 -> i32 ! str { x! }
+1
View File
@@ -0,0 +1 @@
value :: @ x: str -> i32 ! str { !x }
+1
View File
@@ -0,0 +1 @@
ok :: @ value { value }
+1
View File
@@ -0,0 +1 @@
some := 1
+1
View File
@@ -0,0 +1 @@
value: i32?: 1->|.some
+1
View File
@@ -0,0 +1 @@
value :: @ x: i32? { match x { |.some y => y; nil => 0 } }