Cats module

kantan.xpath has a cats module that is, in its current incarnation, fairly bare bones: it provides a few useful type class instances.

The cats module can be used by adding the following dependency to your build.sbt:

libraryDependencies += "com.nrinaudo" %% "kantan.xpath-cats" % "0.5.3"

You then need to import the corresponding package:

import kantan.xpath.cats._

Cats instances

The following instance for cats type classes are provided:


Other tutorials: