This repository was archived by the owner on Mar 25, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +51
-61
lines changed Expand file tree Collapse file tree 13 files changed +51
-61
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "parserOptions" : {
3+ "ecmaVersion" : 5
4+ },
5+ "extends" : " eslint:recommended" ,
6+ "env" : {
7+ "commonjs" : true
8+ },
9+ "rules" : {
10+ "strict" : [2 , " global" ],
11+ "block-scoped-var" : 2 ,
12+ "consistent-return" : 2 ,
13+ "eqeqeq" : [2 , " smart" ],
14+ "guard-for-in" : 2 ,
15+ "no-caller" : 2 ,
16+ "no-extend-native" : 2 ,
17+ "no-loop-func" : 2 ,
18+ "no-new" : 2 ,
19+ "no-param-reassign" : 2 ,
20+ "no-return-assign" : 2 ,
21+ "no-unused-expressions" : 2 ,
22+ "no-use-before-define" : 2 ,
23+ "radix" : [2 , " always" ],
24+ "indent" : [2 , 2 ],
25+ "quotes" : [2 , " double" ],
26+ "semi" : [2 , " always" ]
27+ }
28+ }
Original file line number Diff line number Diff line change 1+ /. *
2+ ! /.gitignore
3+ ! /.eslintrc.json
4+ ! /.travis.yml
15/bower_components /
26/node_modules /
3- /.pulp-cache /
47/output /
5- /.psci *
6- /src /.webpack.js
7- .psc-ide-port
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11language : node_js
22dist : trusty
33sudo : required
4- node_js : 6
4+ node_js : stable
55env :
66 - PATH=$HOME/purescript:$PATH
77install :
Original file line number Diff line number Diff line change 1212 "url" : " git://github.com/purescript/purescript-generics-rep.git"
1313 },
1414 "dependencies" : {
15- "purescript-prelude" : " ^2 .0.0" ,
16- "purescript-monoid" : " ^2 .0.0" ,
17- "purescript-symbols" : " ^2 .0.0" ,
18- "purescript-foldable-traversable" : " ^2 .0.0"
15+ "purescript-prelude" : " ^3 .0.0" ,
16+ "purescript-monoid" : " ^3 .0.0" ,
17+ "purescript-symbols" : " ^3 .0.0" ,
18+ "purescript-foldable-traversable" : " ^3 .0.0"
1919 },
2020 "devDependencies" : {
21- "purescript-console" : " ^2 .0.0"
21+ "purescript-console" : " ^3 .0.0"
2222 }
2323}
Original file line number Diff line number Diff line change 22 "private" : true ,
33 "scripts" : {
44 "clean" : " rimraf output && rimraf .pulp-cache" ,
5- "build" : " jshint src && jscs src && psa \" src/**/*.purs \" \" bower_components/purescript-*/src/**/*.purs \" --censor-lib --strict" ,
6- "test" : " psc \" src/**/*.purs \" \" bower_components/purescript-*/src/**/*.purs \" \" test/**/*.purs \" && psc-bundle \" output/**/*.js \" --module Test.Main --main Test.Main | node "
5+ "build" : " eslint src && pulp build -- --censor-lib --strict" ,
6+ "test" : " pulp test"
77 },
88 "devDependencies" : {
9- "jscs" : " ^2.8.0" ,
10- "jshint" : " ^2.9.1" ,
11- "pulp" : " ^8.2.0" ,
12- "purescript-psa" : " ^0.3.8" ,
13- "rimraf" : " ^2.5.0"
9+ "eslint" : " ^3.17.1" ,
10+ "pulp" : " ^10.0.4" ,
11+ "purescript-psa" : " ^0.5.0-rc.1" ,
12+ "rimraf" : " ^2.6.1"
1413 }
1514}
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ instance genericTopConstructor :: GenericTop a => GenericTop (Constructor name a
3434 genericTop' = Constructor genericTop'
3535
3636-- | A `Generic` implementation of the `bottom` member from the `Bounded` type class.
37- genericBottom :: forall a rep . ( Generic a rep , GenericBottom rep ) => a
37+ genericBottom :: forall a rep . Generic a rep => GenericBottom rep => a
3838genericBottom = to genericBottom'
3939
4040-- | A `Generic` implementation of the `top` member from the `Bounded` type class.
41- genericTop :: forall a rep . ( Generic a rep , GenericTop rep ) => a
41+ genericTop :: forall a rep . Generic a rep => GenericTop rep => a
4242genericTop = to genericTop'
Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ instance genericEqField :: Eq a => GenericEq (Field name a) where
3737 genericEq' (Field a1) (Field a2) = a1 == a2
3838
3939-- | A `Generic` implementation of the `eq` member from the `Eq` type class.
40- genericEq :: forall a rep . ( Generic a rep , GenericEq rep ) => a -> a -> Boolean
40+ genericEq :: forall a rep . Generic a rep => GenericEq rep => a -> a -> Boolean
4141genericEq x y = genericEq' (from x) (from y)
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ instance genericMonoidField :: Monoid a => GenericMonoid (Field name a) where
2929 genericMempty' = Field mempty
3030
3131-- | A `Generic` implementation of the `mempty` member from the `Monoid` type class.
32- genericMempty :: forall a rep . ( Generic a rep , GenericMonoid rep ) => a
32+ genericMempty :: forall a rep . Generic a rep => GenericMonoid rep => a
3333genericMempty = to genericMempty'
You can’t perform that action at this time.
0 commit comments