Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 102 lines (90 sloc) 4.183 kB
248c548 Move all files to trunk directory.
leather authored
1 name: emgm
22bb031 @spl Rm Functions modules, clean up emgm.cabal
spl authored
2 version: 0.4
248c548 Move all files to trunk directory.
leather authored
3 synopsis: Extensible and Modular Generics for the Masses
4 homepage: http://www.cs.uu.nl/wiki/GenericProgramming/EMGM
5 description:
6
22bb031 @spl Rm Functions modules, clean up emgm.cabal
spl authored
7 EMGM is a general-purpose library for datatype-generic programming.
248c548 Move all files to trunk directory.
leather authored
8 .
9 The design is based on the idea of modeling algebraic datatypes as
10 sum-of-product structures. Many datatypes can be modeled this way, and
11 because they all share a common structure, we can write generic functions that
12 work on this structure.
13 .
af9e7b7 Update docs, Derive.Internal.
leather authored
14 The primary features of the library are:
248c548 Move all files to trunk directory.
leather authored
15 .
22bb031 @spl Rm Functions modules, clean up emgm.cabal
spl authored
16 * /A foundation for building generic functions./ EMGM includes a collection of
17 datatypes (e.g. sum, product, and unit) and type classes (e.g. @Generic@ and
18 @Rep@). Everything you need for defining generic functions and supporting
19 datatypes can be found here.
248c548 Move all files to trunk directory.
leather authored
20 .
22bb031 @spl Rm Functions modules, clean up emgm.cabal
spl authored
21 * /Many useful generic functions./ These provide a wide range of
22 functionality. For example, there is @crush@, a generalization of the
23 foldl/foldr functions, that allows you to flexibly extract the elements of a
24 polymorphic container. Now, you can do many of the operations with your
25 container that were previously only available for lists.
248c548 Move all files to trunk directory.
leather authored
26 .
22bb031 @spl Rm Functions modules, clean up emgm.cabal
spl authored
27 * /Support for standard datatypes./ EMGM supports standard types: primitives
28 (e.g. @Int@ and @Float@), @Bool@, lists, tuples, @Maybe@, etc.
248c548 Move all files to trunk directory.
leather authored
29
30 category: Generics
c0c8ad2 Update copyright to 2009.
leather authored
31 copyright: (c) 2008, 2009 Universiteit Utrecht
248c548 Move all files to trunk directory.
leather authored
32 license: BSD3
33 license-file: LICENSE
34 author: Sean Leather,
35 José Pedro Magalhães,
36 Alexey Rodriguez,
37 Andres Löh
38 maintainer: generics@haskell.org
39 stability: experimental
40 extra-source-files: README,
41 examples/Ex00StartHere.hs,
42 examples/Ex01UsingFunctions.hs,
43 examples/Ex02AddingDatatypeSupport.hs,
44 examples/Ex03DefiningFunctions.hs,
45 tests/Base.hs,
46 tests/Bimap.hs,
47 tests/Collect.hs,
48 tests/Compare.hs,
49 tests/Crush.hs,
50 tests/Enum.hs,
fa3df3c Add 'everywhere' function, tests, docs, deriving.
leather authored
51 tests/Everywhere.hs,
248c548 Move all files to trunk directory.
leather authored
52 tests/Main.hs,
53 tests/Map.hs,
54 tests/ReadShow.hs,
55 tests/TTree.hs,
56 tests/UnzipWith.hs,
57 tests/ZipWith.hs,
58 util/hpc.lhs
59 extra-tmp-files: .hpc
60 build-type: Custom
61 cabal-version: >= 1.2.1
62 tested-with: GHC == 6.8.3, GHC == 6.10.1
63
64 --------------------------------------------------------------------------------
65
66 Library
67 hs-source-dirs: src
68
69 exposed-modules: Generics.EMGM
70
10cb0fe @spl rm Common, Base[23] & mv Base, Representation up
spl authored
71 -- Foundation
72 Generics.EMGM.Representation
73 Generics.EMGM.Base
248c548 Move all files to trunk directory.
leather authored
74
75 -- Generic functions
76 Generics.EMGM.Functions.Collect
77 Generics.EMGM.Functions.Compare
78 Generics.EMGM.Functions.Crush
79 Generics.EMGM.Functions.Enum
fa3df3c Add 'everywhere' function, tests, docs, deriving.
leather authored
80 Generics.EMGM.Functions.Everywhere
248c548 Move all files to trunk directory.
leather authored
81 Generics.EMGM.Functions.Map
aede410 @spl Rename Representable to HasEP, migrate Functions.Constructor to Funct…
spl authored
82 Generics.EMGM.Functions.Meta
248c548 Move all files to trunk directory.
leather authored
83 Generics.EMGM.Functions.Read
84 Generics.EMGM.Functions.Show
0a5f451 @spl Add Transpose
spl authored
85 Generics.EMGM.Functions.Transpose
248c548 Move all files to trunk directory.
leather authored
86 Generics.EMGM.Functions.UnzipWith
0a5f451 @spl Add Transpose
spl authored
87 Generics.EMGM.Functions.ZipWith
248c548 Move all files to trunk directory.
leather authored
88
89 -- Supported datatypes
90 Generics.EMGM.Data.Bool
91 Generics.EMGM.Data.Either
92 Generics.EMGM.Data.List
93 Generics.EMGM.Data.Maybe
af446b4 @spl Add Data.Ratio representaion
spl authored
94 Generics.EMGM.Data.Ratio
248c548 Move all files to trunk directory.
leather authored
95 Generics.EMGM.Data.Tuple
96
695bf39 @spl Remove references to Derive code
spl authored
97 build-depends: base >= 3.0 && < 5.0
248c548 Move all files to trunk directory.
leather authored
98
99 ghc-options: -Wall
22bb031 @spl Rm Functions modules, clean up emgm.cabal
spl authored
100 ghc-options: -O2
248c548 Move all files to trunk directory.
leather authored
101
Something went wrong with that request. Please try again.