Skip to content

Commit 7e6df82

Browse files
committed
Update dependencies
1 parent 2bee8ff commit 7e6df82

File tree

4 files changed

+95
-30
lines changed

4 files changed

+95
-30
lines changed

Gruntfile.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,32 @@ module.exports = function(grunt) {
22

33
"use strict";
44

5-
grunt.initConfig({
6-
5+
grunt.initConfig({
6+
77
libFiles: [
88
"src/**/*.purs",
99
"bower_components/purescript-*/src/**/*.purs",
1010
],
11-
11+
1212
clean: ["output"],
13-
13+
1414
pscMake: ["<%=libFiles%>"],
1515
dotPsci: ["<%=libFiles%>"],
16-
docgen: {
16+
pscDocs: {
1717
readme: {
1818
src: "src/**/*.purs",
1919
dest: "README.md"
2020
}
21-
}
21+
},
22+
23+
jsvalidate: ["output/**/*.js"]
2224

2325
});
2426

2527
grunt.loadNpmTasks("grunt-contrib-clean");
2628
grunt.loadNpmTasks("grunt-purescript");
27-
28-
grunt.registerTask("make", ["pscMake", "dotPsci", "docgen"]);
29+
grunt.loadNpmTasks("grunt-jsvalidate");
30+
31+
grunt.registerTask("make", ["pscMake", "jsvalidate", "dotPsci", "pscDocs"]);
2932
grunt.registerTask("default", ["make"]);
3033
};

README.md

Lines changed: 79 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,100 @@
22

33
## Module Data.Identity
44

5-
### Types
5+
#### `Identity`
66

7-
newtype Identity a where
8-
Identity :: a -> Identity a
7+
``` purescript
8+
newtype Identity a
9+
= Identity a
10+
```
911

1012

11-
### Type Class Instances
13+
#### `runIdentity`
1214

13-
instance applicativeIdentity :: Applicative Identity
15+
``` purescript
16+
runIdentity :: forall a. Identity a -> a
17+
```
1418

15-
instance applyIdentity :: Apply Identity
1619

17-
instance bindIdentity :: Bind Identity
20+
#### `eqIdentity`
1821

19-
instance comonadIdentity :: Comonad Identity
22+
``` purescript
23+
instance eqIdentity :: (Eq a) => Eq (Identity a)
24+
```
2025

21-
instance eqIdentity :: (Eq a) => Eq (Identity a)
2226

23-
instance extendIdentity :: Extend Identity
27+
#### `ordIdentity`
2428

25-
instance foldableIdentity :: Foldable Identity
29+
``` purescript
30+
instance ordIdentity :: (Ord a) => Ord (Identity a)
31+
```
2632

27-
instance functorIdentity :: Functor Identity
2833

29-
instance monadIdentity :: Monad Identity
34+
#### `showConst`
3035

31-
instance ordIdentity :: (Ord a) => Ord (Identity a)
36+
``` purescript
37+
instance showConst :: (Show a) => Show (Identity a)
38+
```
3239

33-
instance showConst :: (Show a) => Show (Identity a)
3440

35-
instance traversableIdentity :: Traversable Identity
41+
#### `functorIdentity`
3642

43+
``` purescript
44+
instance functorIdentity :: Functor Identity
45+
```
3746

38-
### Values
3947

40-
runIdentity :: forall a. Identity a -> a
48+
#### `applyIdentity`
49+
50+
``` purescript
51+
instance applyIdentity :: Apply Identity
52+
```
53+
54+
55+
#### `applicativeIdentity`
56+
57+
``` purescript
58+
instance applicativeIdentity :: Applicative Identity
59+
```
60+
61+
62+
#### `bindIdentity`
63+
64+
``` purescript
65+
instance bindIdentity :: Bind Identity
66+
```
67+
68+
69+
#### `monadIdentity`
70+
71+
``` purescript
72+
instance monadIdentity :: Monad Identity
73+
```
74+
75+
76+
#### `extendIdentity`
77+
78+
``` purescript
79+
instance extendIdentity :: Extend Identity
80+
```
81+
82+
83+
#### `comonadIdentity`
84+
85+
``` purescript
86+
instance comonadIdentity :: Comonad Identity
87+
```
88+
89+
90+
#### `foldableIdentity`
91+
92+
``` purescript
93+
instance foldableIdentity :: Foldable Identity
94+
```
95+
96+
97+
#### `traversableIdentity`
98+
99+
``` purescript
100+
instance traversableIdentity :: Traversable Identity
101+
```

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"package.json"
2121
],
2222
"dependencies": {
23-
"purescript-foldable-traversable": "~0.2.1"
23+
"purescript-foldable-traversable": "~0.3.0"
2424
}
2525
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"private": true,
33
"devDependencies": {
4-
"grunt": "~0.4.5",
5-
"grunt-purescript": "~0.5.2",
6-
"grunt-contrib-clean": "~0.5.0"
4+
"grunt": "^0.4.5",
5+
"grunt-contrib-clean": "^0.5.0",
6+
"grunt-jsvalidate": "^0.2.2",
7+
"grunt-purescript": "^0.6.0"
78
}
89
}

0 commit comments

Comments
 (0)