Ad
  • Default User Avatar
  • Default User Avatar

    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.