@hackage type0.1.0

Dynamic casting library with support for arbitrary rank type kinds.

  • Categories

    • License

      BSD-3-Clause

    • Maintainer

      topi.karvonen@gmail.com

    • Versions

    Originally written out of need to write Typeable instances for monad transformers. This is troublesome since monad transformer type constructors have by definition at least rank 2 kind. By default only type constructors whose kind contains maximum of 8 units are supported, for example: * -> (* -> *) -> ((* -> *) -> *) -> * -> * . The provided generator allows one to support even more complex types. However be aware that the amount of code generated increases exponentially.