This repository was archived by the owner on Oct 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 4
4
"authors" : [
5
5
" Gershom Bazerman <[email protected] >"
6
6
],
7
- "version" : " 0.3.0" ,
8
7
"description" : " Generic programming" ,
9
8
"keywords" : [
10
9
" purescript" ,
25
24
"url" : " git://github.com/purescript/purescript-generics.git"
26
25
},
27
26
"dependencies" : {
28
- "purescript-strings" : " ~0.6.0" ,
29
- "purescript-arrays" : " ~0.4.1" ,
30
- "purescript-either" : " ~0.2.0" ,
31
- "purescript-tuples" : " ~0.4.0" ,
32
- "purescript-integers" : " ~0.2.1"
27
+ "purescript-arrays" : " ^0.4.2" ,
28
+ "purescript-either" : " ^0.2.1" ,
29
+ "purescript-strings" : " ^0.7.0"
33
30
},
34
31
"devDependencies" : {
35
- "purescript-console" : " ~ 0.1.0"
32
+ "purescript-console" : " ^ 0.1.0"
36
33
}
37
34
}
Original file line number Diff line number Diff line change @@ -8,16 +8,14 @@ module Data.Generic
8
8
gEq ,
9
9
gCompare
10
10
) where
11
+
11
12
import Prelude
12
- import Data.Either
13
- import Data.Maybe
14
- import qualified Data.String as S
15
- import Data.Tuple
16
- import Data.Traversable
17
- import Data.Array
18
- import Data.Int
19
- import Data.Monoid.Conj
20
- import Data.Foldable
13
+
14
+ import Data.Either (Either (..))
15
+ import Data.Maybe (Maybe (..))
16
+ import Data.Tuple (Tuple (..))
17
+ import Data.Traversable (traverse )
18
+ import Data.Array (null , length )
21
19
import Data.String (joinWith )
22
20
23
21
-- | A GenericSpine is a universal represntation of an arbitrary data structure (that does not contain function arrows).
You can’t perform that action at this time.
0 commit comments