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.
Rejected by author for unknown reason
Especially if you havent yet some kind of an intuition about how Identity & Const Functors work.
Oh dear. You're right. And you know, I feel so daft right this minute — when you've practiced Haskell for months and you realize you don't realize understand functors, let alone monads :(
Haskell translation
This kata is a great first introduction in how lenses actually work, how they are so composable.
Following the types once again helped alot. Not to say that this one is easy (got stuck for quite a while on even just view). Especially if you havent yet some kind of an intuition about how Identity & Const Functors work.
One tip that helped my in this and lots of other situations: use underscore-variablename when you are not sure what to put. ghc will tell you the type it expects of those "holes" you left.