Skip to content

Commit

Permalink
Add missing pure annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverJAsh authored and gcanti committed Jan 17, 2022
1 parent 7858786 commit 15a9fbe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/Array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2726,8 +2726,12 @@ export const TraversableWithIndex: TraversableWithIndex1<URI, number> = {
traverseWithIndex: _traverseWithIndex
}

const _wither: Witherable1<URI>['wither'] = witherDefault(Traversable, Compactable)
const _wilt: Witherable1<URI>['wilt'] = wiltDefault(Traversable, Compactable)
const _wither: Witherable1<URI>['wither'] =
/*#__PURE__*/
witherDefault(Traversable, Compactable)
const _wilt: Witherable1<URI>['wilt'] =
/*#__PURE__*/
wiltDefault(Traversable, Compactable)

/**
* @category instances
Expand Down
8 changes: 6 additions & 2 deletions src/ReadonlyArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2314,8 +2314,12 @@ export const ChainRecBreadthFirst: ChainRec1<URI> = {
chainRec: _chainRecBreadthFirst
}

const _wither: Witherable1<URI>['wither'] = witherDefault(Traversable, Compactable)
const _wilt: Witherable1<URI>['wilt'] = wiltDefault(Traversable, Compactable)
const _wither: Witherable1<URI>['wither'] =
/*#__PURE__*/
witherDefault(Traversable, Compactable)
const _wilt: Witherable1<URI>['wilt'] =
/*#__PURE__*/
wiltDefault(Traversable, Compactable)

/**
* @category instances
Expand Down

0 comments on commit 15a9fbe

Please sign in to comment.