Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
In my opinion, using
Option<T>
doesn't make sense to tell that an error happened, just that. Plus,Result<T, ()>
is simplified for the kata, but you could give a descriptive error in normal code.Result<T, ()>
is isomorphic toOption<T>
, does it have any advantages?