Skip to content

Commit a9be06b

Browse files
committed
Update dependencies
1 parent d19c9ce commit a9be06b

File tree

2 files changed

+87
-21
lines changed

2 files changed

+87
-21
lines changed

README.md

Lines changed: 85 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,107 @@
22

33
## Module Data.Const
44

5-
### Types
5+
#### `Const`
66

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

1012

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

13-
instance applicativeConst :: (Monoid a) => Applicative (Const a)
15+
``` purescript
16+
getConst :: forall a b. Const a b -> a
17+
```
1418

15-
instance applyConst :: (Semigroup a) => Apply (Const a)
1619

17-
instance bindConst :: (Semigroup a) => Bind (Const a)
20+
#### `eqConst`
1821

19-
instance contravariantConst :: Contravariant (Const a)
22+
``` purescript
23+
instance eqConst :: (Eq a) => Eq (Const a b)
24+
```
2025

21-
instance eqConst :: (Eq a) => Eq (Const a b)
2226

23-
instance foldableConst :: Foldable (Const a)
27+
#### `ordConst`
2428

25-
instance functorConst :: Functor (Const a)
29+
``` purescript
30+
instance ordConst :: (Ord a) => Ord (Const a b)
31+
```
2632

27-
instance monoidConst :: (Monoid a) => Monoid (Const a b)
2833

29-
instance ordConst :: (Ord a) => Ord (Const a b)
34+
#### `showConst`
3035

31-
instance semigroupConst :: (Semigroup a) => Semigroup (Const a b)
36+
``` purescript
37+
instance showConst :: (Show a) => Show (Const a b)
38+
```
3239

33-
instance semigroupoidConst :: Semigroupoid Const
3440

35-
instance showConst :: (Show a) => Show (Const a b)
41+
#### `semigroupoidConst`
3642

37-
instance traversableConst :: Traversable (Const a)
43+
``` purescript
44+
instance semigroupoidConst :: Semigroupoid Const
45+
```
3846

3947

40-
### Values
48+
#### `semigroupConst`
4149

42-
getConst :: forall a b. Const a b -> a
50+
``` purescript
51+
instance semigroupConst :: (Semigroup a) => Semigroup (Const a b)
52+
```
53+
54+
55+
#### `monoidConst`
56+
57+
``` purescript
58+
instance monoidConst :: (Monoid a) => Monoid (Const a b)
59+
```
60+
61+
62+
#### `functorConst`
63+
64+
``` purescript
65+
instance functorConst :: Functor (Const a)
66+
```
67+
68+
69+
#### `applyConst`
70+
71+
``` purescript
72+
instance applyConst :: (Semigroup a) => Apply (Const a)
73+
```
74+
75+
76+
#### `bindConst`
77+
78+
``` purescript
79+
instance bindConst :: (Semigroup a) => Bind (Const a)
80+
```
81+
82+
83+
#### `applicativeConst`
84+
85+
``` purescript
86+
instance applicativeConst :: (Monoid a) => Applicative (Const a)
87+
```
88+
89+
90+
#### `contravariantConst`
91+
92+
``` purescript
93+
instance contravariantConst :: Contravariant (Const a)
94+
```
95+
96+
97+
#### `foldableConst`
98+
99+
``` purescript
100+
instance foldableConst :: Foldable (Const a)
101+
```
102+
103+
104+
#### `traversableConst`
105+
106+
``` purescript
107+
instance traversableConst :: Traversable (Const a)
108+
```

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"package.json"
2424
],
2525
"dependencies": {
26-
"purescript-monoid": "~0.1.2",
26+
"purescript-monoid": "~0.2.0",
2727
"purescript-contravariant": "~0.0.1",
28-
"purescript-foldable-traversable": "~0.2.1"
28+
"purescript-foldable-traversable": "~0.3.0"
2929
}
3030
}

0 commit comments

Comments
 (0)