Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Commit ffeb08e

Browse files
committed
Category: fix id definition
1 parent 4ae8d74 commit ffeb08e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Category.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { Semigroupoid } from './Semigroupoid'
44
import type { Monoid } from './Monoid'
55

66
export interface Category<C> extends Semigroupoid<C> {
7-
id(): HKT2<C, any, any>
7+
id<A>(): HKT2<C, A, A>
88
}
99

1010
// the set of arrows from A to B

0 commit comments

Comments
 (0)