generics-sop alternatives and similar packages
Based on the "Generics" category.
Alternatively, view generics-sop alternatives based on common mentions on social networks and blogs.
-
generic-records
Generically derive traversals, lenses, and prisms. -
generic-lens
Generically derive traversals, lenses, and prisms. -
generic-deriving
Generic programming library for generalised deriving. -
uniplate
Haskell library for simple, concise and fast generic operations. -
records-sop
Experimental implementation of generic record subtyping -
generics-eot
A library for generic programming that aims to be easy to understand -
generic-override-aeson
Override instances used by Haskell's generic derivation -
Capabilities
A Haskell library providing separation of effects on the type level, effectively splitting up the monolithic IO-monad into more limited capabilities. -
GenericPretty
A generic, derivable, haskell pretty printer - Research project, summer of 2011 -
generic-lens-labels
GHC.OverloadedLabels.IsLabel instance for lenses from ghc-generics -
compdata-param
Haskell library implementing parametric compositional data types. -
instant-generics
Code repository for the instant-generics library -
geniplate-mirror
Use TH to generate uniplate-like functions. -
Strafunski-StrategyLib
Cabalized version of the StrategyLib library from Strafunski -
text-generic-pretty
A generic, derivable, haskell pretty printer - Research project, summer of 2011 -
xformat
Extensible, typed, scanf- and printf-like functions for formatted reading and showing in Haskell -
regular-extras
Code repository for the regular-extras library -
Annotations
Constructing, analyzing and destructing annotated trees -
projection
Projection function for arbitrarily nested binary product types. -
deriving-show-simple
Derive a Show instance without field selector names -
church
Automatically convert Generic instances to and from church representations -
compdata-fixplate
Compdata basics implemented on top of Fixplate -
generic-optics-lite
Monomorphic field opics like with generic-lens -
generic-lens-lite
Monomorphic field lens like with generic-lens
Free Global Payroll designed for tech teams
Do you think we are missing an alternative of generics-sop or a related project?
README
sop-core and generics-sop
generics-sop
is a library to support the definition of generic functions.
Datatypes are viewed in a uniform, structured way: the choice between
constructors is represented using an n-ary sum, and the arguments of each
constructor are represented using an n-ary product.
Since version 0.4.0.0, generics-sop
is now based on sop-core
. The core
package contains all the functionality of n-ary sums and products, whereas
generics-sop
provides the datatype-generic programming support on top.
This is the development repository for the packages. For releases, look on Hackage.
The module Generics.SOP
is the main module of this library
and contains more detailed documentation.
Examples of using generics-sop
are provided by the following
packages:
- basic-sop basic examples,
- pretty-sop generic pretty printing,
- lens-sop generically computed lenses,
- json-sop generic JSON conversions.
A detailed description of the ideas behind this library is provided by the paper:
- Edsko de Vries and Andres Löh. True Sums of Products. Workshop on Generic Programming (WGP) 2014.