Skip to content

Commit

Permalink
Add some of my ideas to a features.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvillage committed Dec 19, 2023
1 parent 40e10ae commit 442d9cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Define product types (structs)
- Define sum types (enums)
- Define shared behavior (traits)
- Nullability with types like i64? and unwrapping with operator
- Universal error enum with tag word that describes the type, then pointer word that points to the associated data. The ! operator is used to unwrap errors

0 comments on commit 442d9cd

Please sign in to comment.