Skip to content

Commit

Permalink
- Refine code of binary and reviver functions to increase speed o…
Browse files Browse the repository at this point in the history
…f execution.

- Update dependencies.
- Fix typos.
  • Loading branch information
Kapelianovych committed Aug 28, 2021
1 parent 8060ca0 commit fed7888
Show file tree
Hide file tree
Showing 9 changed files with 733 additions and 1,330 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# [0.31.3] - 2021-08-25
# [0.31.4] - 2021-08-28

### Fixed

- Refine code of `binary` and `reviver` functions to increase speed of execution.

## [0.31.3] - 2021-08-25

### Fixed

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const composed /* Promise<number> */ = pipe(
async (str: string) => str + 2,
parseInt,
);
const asyncResult /* Promise<number> */ = composed('1');
const asyncResult /*: Promise<number> */ = composed('1');
```

### identity
Expand All @@ -96,7 +96,7 @@ Returns own argument back to the calling place.
```ts
const value = 5;

const result /* 5 */ = identity(value);
const result /*: 5 */ = identity(value);
```

### once
Expand Down Expand Up @@ -134,7 +134,7 @@ Reverses function's parameters.
```ts
const fn = (s: string, n: number) => Number(s) + n;

const flipped /* (args_0: number, args_1: string) => number */ = flip(fn);
const flipped /*: (args_0: number, args_1: string) => number */ = flip(fn);

// ...

Expand Down

0 comments on commit fed7888

Please sign in to comment.