packages feed

emgm

Extensible and Modular Generics for the Masses

view on Hackage

EMGM is a general-purpose library for datatype-generic programming. The design is based on the idea of modeling algebraic datatypes as sum-of-product structures. Many datatypes can be modeled this way, and because they all share a common structure, we can write generic functions that work on this structure. The primary features of the library are: * /A foundation for building generic functions./ EMGM includes a collection of datatypes (e.g. sum, product, and unit) and type classes (e.g. @Generic@ and @Rep@). Everything you need for defining generic functions and supporting datatypes can be found here. * /Many useful generic functions./ These provide a wide range of functionality. For example, there is @crush@, a generalization of the foldl/foldr functions, that allows you to flexibly extract the elements of a polymorphic container. Now, you can do many of the operations with your container that were previously only available for lists. * /Support for standard datatypes./ EMGM supports standard types: primitives (e.g. @Int@ and @Float@), @Bool@, lists, tuples, @Maybe@, etc. /NOTE:/ As of version 0.4, this library does not have Template Haskell for generating the representation. We are working on another library for a solution to this problem.
versionuploadeduploaderchanges
0.42011-09-21 15:58 UTCSeanLeather+2114/−4174 lines, 53 filesdep +sybdep −template-haskelldep ~QuickCheckdep ~basesetup-changedPVP ok
0.3.12009-03-05 23:15 UTCSeanLeather+21/−1 lines, 3 filesPVP ok
0.32009-03-03 11:21 UTCSeanLeather+3384/−1692 lines, 58 filesdep ~template-haskellsetup-changedPVP ok
0.22009-01-30 13:22 UTCSeanLeather+3468/−356 lines, 48 filesdep +template-haskelldep ~HUnitdep ~QuickCheckdep ~basesetup-changedPVP ok
0.12008-09-19 15:33 UTCSeanLeather+3445/−0 lines, 27 filesdep +HUnitdep +QuickCheckdep +basebuild-type:Customsetup-changed

Dependencies of emgm-0.4

HUnit >=1.2 && <1.3 1.2.5.2 → 1.6.2.0 newer than bounds
2021-01-19 18:27 UTC1.6.2.0 newer than bounds+48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested
2020-10-31 12:09 UTC1.6.1.0 newer than bounds+35/−21 lines, 4 filesPVP ok
2017-03-20 01:42 UTC1.6.0.0 newer than bounds+9/−5 lines, 4 filesdep ~basePVP ok
2016-10-16 03:35 UTC1.5.0.0 newer than bounds+47/−27 lines, 5 filesPVP ok
2016-10-07 03:13 UTC1.4.0.0 newer than bounds+761/−778 lines, 12 filesdep +call-stackPVP ok

showing 5 of 22 versions

QuickCheck >=2.4 && <2.5 2.4.2 → 2.19.0.0 newer than bounds
2026-09-16 11:18 UTC2.19.0.0 newer than bounds+67/−41 lines, 10 filesdep +OneTuplePVP ok
2026-02-26 12:42 UTC2.18.0.0 newer than bounds+826/−542 lines, 23 filesPVP ok
2025-10-13 12:40 UTC2.17.1.0 newer than bounds+18/−8 lines, 4 filesdep ~randomPVP: major bump suggested
2025-10-07 12:26 UTC2.17.0.0 newer than bounds+667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok
2025-06-17 07:53 UTC2.16.0.0 newer than bounds+477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok

showing 5 of 66 versions

base >=3.0 && <5.0 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

syb >=0.3 && <0.4 0.3.7 → 0.7.4 newer than bounds
2026-03-07 17:18 UTC0.7.4 newer than bounds+27/−18 lines, 4 filesPVP ok
2025-08-21 20:31 UTC0.7.3 newer than bounds+176/−154 lines, 13 filesdep ~basePVP: major bump suggested
2023-07-30 17:25 UTC0.7.2.4 newer than bounds+434/−64 lines, 7 filesPVP: major bump suggested
2023-03-18 23:19 UTC0.7.2.3 newer than bounds+50/−36 lines, 4 filesdep ~mtlPVP ok
2022-09-17 15:09 UTC0.7.2.2 newer than bounds+108/−79 lines, 36 filesPVP ok

showing 5 of 33 versions

Reverse dependencies

1 packages depend on emgm

acme-everything 2018.11.18 requires emgm >=0