Popularity
7.1
Stable
Activity
0.0
Declining
27
3
1
Monthly Downloads: 50
Programming language: Haskell
License: MIT License
Latest version: v0.1.4
compoundtypes alternatives and similar packages
Based on the "Data" category.
Alternatively, view compoundtypes alternatives based on common mentions on social networks and blogs.

lens
Lenses, Folds, and Traversals  Join us on freenode #haskelllens 
semanticsource
Parsing, analyzing, and comparing source code across many languages 
text
Haskell library for space and timeefficient operations over Unicode text. 
codebuilder
Packages for defining APIs, running them, generating client code and documentation. 
cassava
A CSV parsing and encoding library optimized for ease of use and high performance 
unorderedcontainers
Efficient hashingbased container types 
compendiumclient
Mu (μ) is a purely functional framework for building micro services. 
holmes
A reference library for constraintsolving with propagators and CDCL. 
binary
Efficient, pure binary serialisation using ByteStrings in Haskell. 
primitive
This package provides various primitive memoryrelated operations. 
resourcepool
A highperformance striped resource pooling implementation for Haskell 
dependentmap
Dependentlytyped finite maps (partial dependent products) 
discrimination
Fast linear time sorting and discrimination for a large class of data types 
jsonautotype
Automatic Haskell type inference from JSON input 
dependentsum
Dependent sums and supporting typeclasses for comparing and displaying them 
IORefCAS
A collection of different packages for CAS based data structures. 
reflection
Reifies arbitrary Haskell terms into types that can be reflected back into terms 
audiovisual
Extensible records, variants, structs, effects, tangles 
orgmodeparse
Attoparsec parser combinators for parsing orgmode structured text! 
streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions 
bifunctors
Haskell 98 bifunctors, bifoldables and bitraversables 
protobuf
An implementation of Google's Protocol Buffers in Haskell. 
safecopy
An extension to Data.Serialize with builtin version control 
texticu
This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text. 
uuidtypes
A Haskell library for creating, printing and parsing UUIDs 
typerepmap
⚡️Efficient implementation of Map with types as keys 
structures
A playground for working on advanced data structures in Haskell
Scout APM: A developer's best friend. Try free for 14days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Promo
scoutapm.com
Do you think we are missing an alternative of compoundtypes or a related project?
Popular Comparisons
README
Intro
This library provides firstclass multiarity product and sumtypes and neat typelevel utilities for their composition. The solution is quite simple and doesn’t require the advanced proficiency in the language to be applied in practice.
Here's an example of what you can do with it:
 
 This function exhibits the benefit of the firstclass sumtype
 being usable as a function parameter.

 It also shows, how we can patternmatch it.
intCharBoolSumToString :: (Int + Char + Bool) > String
intCharBoolSumToString =
\case
Sum3_1 int > "Int: " <> show int
Sum3_2 char > "Char: " <> show char
Sum3_3 bool > "Bool: " <> show bool
 
 Following is an example of a more complicated composition,
 which is the same as the following type:

 > Sum3 Int (Product2 Char (Sum2 Bool String)) Char

 Just as in the math, the product operator exhibits a higher priority.
type SumAndProductMixture =
Int + Char * (Bool + String) + Char
 
 Where there is a multiplication and addition,
 there naturally must be a division and subtraction!

 Following is an example of how we can extract parts of a composite type.
 Here the type becomes the same as the following:

 > Bool + String
type BoolOrString =
(SumAndProductMixture  Int  Char) / Char
Compatibility
The library supports GHC starting from version 8.6.1 and requires you to enable the NoStarIsType
extension.