Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mstksg/type-combinators-singletons

Interop between type-combinators and singletons library
https://github.com/mstksg/type-combinators-singletons

Last synced: 3 months ago
JSON representation

Interop between type-combinators and singletons library

Awesome Lists containing this project

README

        

type-combinator-singletons
==========================

Conversions between data-types in *[type-combinators][]* and singletons from
*[singletons][]* and orphan instances.

[type-combinators]: https://hackage.haskell.org/package/type-combinators
[singletons]: https://hackage.haskell.org/package/singletons

There's a lot of overlap in functionality between the two libraries. I often
use both of them together side-by-side to do different things, but there is
some friction the process of converting between the identical data types that
both libraries have, and between similar typeclasses. This library attempts to
ease that friction by providing conversion functions between identical data
types and also many of the appropriate orphan typeclass instances.