Skip to content

Commit 99a9e28

Browse files
committed
Updates for RC
1 parent 1620f93 commit 99a9e28

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ bower install purescript-const
1212

1313
## Module documentation
1414

15-
[`docs/MODULE.md`](docs/MODULE.md)
15+
- [Data.Const](docs/Data.Const.md)

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"package.json"
2929
],
3030
"dependencies": {
31-
"purescript-contravariant": "~0.2.0",
32-
"purescript-foldable-traversable": "~0.4.0"
31+
"purescript-contravariant": "^0.2.0",
32+
"purescript-foldable-traversable": "^0.4.0"
3333
}
3434
}

docs/Data.Const.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ newtype Const a b
99
= Const a
1010
```
1111

12+
The `Const` type constructor, which wraps its first type argument
13+
and ignores its second. That is, `Const a b` is isomorphic to `a`
14+
for any `b`.
15+
16+
`Const` has some useful instances. For example, the `Applicative`
17+
instance allows us to collect results using a `Monoid` while
18+
ignoring return values.
19+
1220
##### Instances
1321
``` purescript
1422
instance eqConst :: (Eq a) => Eq (Const a b)
@@ -28,14 +36,6 @@ instance foldableConst :: Foldable (Const a)
2836
instance traversableConst :: Traversable (Const a)
2937
```
3038

31-
The `Const` type constructor, which wraps its first type argument
32-
and ignores its second. That is, `Const a b` is isomorphic to `a`
33-
for any `b`.
34-
35-
`Const` has some useful instances. For example, the `Applicative`
36-
instance allows us to collect results using a `Monoid` while
37-
ignoring return values.
38-
3939
#### `getConst`
4040

4141
``` purescript

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"devDependencies": {
44
"gulp": "^3.8.11",
55
"gulp-plumber": "^1.0.0",
6-
"gulp-purescript": "^0.5.0",
6+
"gulp-purescript": "^0.5.0-rc.1",
77
"rimraf": "^2.3.3"
88
}
99
}

0 commit comments

Comments
 (0)