Skip to content

Commit

Permalink
docs(README.md): add Michael Kuk as contributor
Browse files Browse the repository at this point in the history
- fix typo in docstrings

Closes #80
  • Loading branch information
char0n committed Aug 14, 2017
1 parent 84e89bb commit 0f1f289
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,5 @@ gets imported into Typescript project, typings are automatically imported and us

### Contributors

[Tycho Grouwstra](https://github.com/tycho01)
- [Tycho Grouwstra](https://github.com/tycho01)
- [Michael Kuk](https://github.com/michaelkuk)
8 changes: 4 additions & 4 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,21 +394,21 @@ declare namespace RamdaAdjunct {
}
}
/**
* Returns `true` if data structure focused by by the given lens equals provided value.
* Returns `true` if data structure focused by the given lens equals provided value.
*/
lensEq(lens: Function, value: any, data: any): Boolean
lensEq(lens: Function, value: any): (data: any) => Boolean
lensEq(lens: Function): (value: any) => (data: any) => Boolean

/**
* Returns `false` if data structure focused by by the given lens equals provided value.
* Returns `false` if data structure focused by the given lens equals provided value.
*/
lensNotEq(lens: Function, value: any, data: any): Boolean
lensNotEq(lens: Function, value: any): (data: any) => Boolean
lensNotEq(lens: Function): (value: any) => (data: any) => Boolean

/**
* Returns `true` if data structure focused by by the given lens satisfies the predicate.
* Returns `true` if data structure focused by the given lens satisfies the predicate.
* Note that the predicate is expected to return boolean value and will be evaluated
* as `false` unless the predicate returns `true`.
*/
Expand All @@ -417,7 +417,7 @@ declare namespace RamdaAdjunct {
lensSatisfies(predicate: Function): (lens: Function) => (data: any) => Boolean

/**
* Returns `true` if data structure focused by by the given lens doesn't satisfy the predicate.
* Returns `true` if data structure focused by the given lens doesn't satisfy the predicate.
* Note that the predicate is expected to return boolean value.
*/
lensNotSatisfy(predicate: Function, lens: Function, data: any): Boolean
Expand Down
2 changes: 1 addition & 1 deletion src/lensEq.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { view, curryN, equals, pipe } from 'ramda';


/**
* Returns `true` if data structure focused by by the given lens equals provided value.
* Returns `true` if data structure focused by the given lens equals provided value.
*
* @func lensEq
* @memberOf RA
Expand Down
2 changes: 1 addition & 1 deletion src/lensNotEq.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import lensEq from './lensEq';


/**
* Returns `true` if data structure focused by by the given lens doesn't equal provided value.
* Returns `true` if data structure focused by the given lens doesn't equal provided value.
*
* @func lensNotEq
* @memberOf RA
Expand Down
2 changes: 1 addition & 1 deletion src/lensNotSatisfy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import lensSatisfies from './lensSatisfies';


/**
* Returns `true` if data structure focused by by the given lens doesn't satisfy the predicate.
* Returns `true` if data structure focused by the given lens doesn't satisfy the predicate.
* Note that the predicate is expected to return boolean value.
*
* @func lensNotSatisfy
Expand Down
2 changes: 1 addition & 1 deletion src/lensSatisfies.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { view, curryN, equals, pipe } from 'ramda';


/**
* Returns `true` if data structure focused by by the given lens satisfies the predicate.
* Returns `true` if data structure focused by the given lens satisfies the predicate.
* Note that the predicate is expected to return boolean value and will be evaluated
* as `false` unless the predicate returns `true`.
*
Expand Down

0 comments on commit 0f1f289

Please sign in to comment.