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.
The unit test definition seems to be out of date with the version of HSpec used:
The unit test definition seems to be out of date with the version of HSpec used:
I think it's way too easy. Just playing type tetris / cat-programming ("if it fits, it sits") can be used to solve it in a couple minutes without actually having to think about it.
However, one could add a remark about closed type families and point to external resources, as long as the GHC version stays 7.6.x.
Well, Codewars still uses GHC 7.6.x. That settles it. (Probably 7.6.3, since that one is in Ubuntu 14.04 LTS and similar LTS distributions)
Closed type families were introduced in 7.8.1.
I think when I made the kata that they were still using GHC 7.6 which doesn't have support for closed type families.
Which GHC version introduced closed type families?
The fact that it doesn't use (and doesn't even seem to allow!) closed type families is potentially teaching an obsolete pattern.