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.
You are introducing an
Eq a
constraint with your use ofelem
. Don't useelem
( orelemIndex
).find
andfindIndex
do not introduce such a constraint.The given signature is
[[a]] -> [a]
. You can't just go around adding constraints to given signatures; you're not implementing the spec.Same problem.
multiple numbers should sum to correct total
Expected 1927.2828119841463, but instead got 1927.2828119841465
multiple numbers with negatives should sum to correct total
Expected -5147.9807804336315, but instead got -5147.980780433631