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.
Resolved.
Fixed with your suggestion, thanks :)
The more we talk, the more I think that the λ2 calculus isn't up to this task.
(╯`д´)╯︵ ┻━┻ Time to drop haskell, climb the λ Cube, and redo everything Agda! Where's my axiom of infinity? I have a craving to construct ℕ from scratch...
Kidding aside, for 8 kyu kata in other languages, the convention is to not sweat the corner cases...
Yeah, you're right. I just switched it from
undefined
toerror "elementAt is not defined for non-positive input"
Perhaps it should throw an exception like the built-in
(!!)
. Personally, I don't like throwing exceptions, so I'd rather returnMaybe a
instead. However, since this is an absolute beginner kata I don't think this is a good place to introduceMaybe
...