@hackage uniplate1.5.1
Help writing simple, concise and fast generic operations.
Installation
Dependencies (4)
- base >=4 && <4.4
- containers
- mtl
- syb Show all…
Dependents (127)
@hackage/hyloutils, @hackage/distributed-process-platform, @hackage/horname, @hackage/hugs2yc, @cardano/plutus-tx-plugin, @hackage/yesod-csp, Show all…
Package Flags
ghc_6_10(on by default)
Uniplate is library for writing simple and concise generic operations. Uniplate has similar goals to the original Scrap Your Boilerplate work, but is substantially simpler and faster.
To get started with Uniplate you should import one of the three following modules:
Data.Generics.Uniplate.Data- to quickly start writing generic functions. Most users should start by importing this module.Data.Generics.Uniplate.Direct- a replacement forData.Generics.Uniplate.Datawith substantially higher performance (around 5 times), but requires writing instance declarations.Data.Generics.Uniplate.Operations- definitions of all the operations defined by Uniplate. Both the above two modules re-export this module.
In addition, some users may want to make use of the following modules:
Data.Generics.SYB- users transitioning from the Scrap Your Boilerplate library.Data.Generics.Compos- users transitioning from the Compos library.Data.Generics.Uniplate.DataOnly- users making use of bothDataandDirectto avoid getting instance conflicts.