Skip to content

Commit ccc7ebb

Browse files
committed
new build and inced version
1 parent 3bbd42d commit ccc7ebb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ declare type Fold_<X, A, B> = {
77
initial: X;
88
extract: (x: X) => B;
99
};
10-
declare type Fold<A, B> = (run: <X>(_: Fold_<X, A, B>) => B) => B;
10+
declare type Fold<A, B> = <R>(run: <X>(_: Fold_<X, A, B>) => R) => R;
1111
declare const fold: <A, B>(f: Fold<A, B>, fa: Foldable<A>) => B;
1212
declare const sum: Fold<number, number>;
1313
declare const all: <A>(p: (a: A) => boolean) => Fold<A, boolean>;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fold-ts",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "experimental fold implementation",
55
"main": "lib/index.js",
66
"typings": "lib/index.d.ts",

0 commit comments

Comments
 (0)