Skip to content

Commit

Permalink
update Apply example
Browse files Browse the repository at this point in the history
  • Loading branch information
christiantakle authored and gcanti committed Mar 28, 2021
1 parent 6b75bd8 commit 8f09669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/Apply.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Formally, `Apply` represents a strong lax semi-monoidal endofunctor.
import * as O from 'fp-ts/Option'
import { pipe } from 'fp-ts/function'

const f = (a: string) => (b: number) => (c: boolean) => a + String(b) + (c ? 'true' : 'false')
const f = (a: string) => (b: number) => (c: boolean) => a + String(b) + String(c)
const fa: O.Option<string> = O.some('s')
const fb: O.Option<number> = O.some(1)
const fc: O.Option<boolean> = O.some(true)
Expand Down
2 changes: 1 addition & 1 deletion src/Apply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* import * as O from 'fp-ts/Option'
* import { pipe } from 'fp-ts/function'
*
* const f = (a: string) => (b: number) => (c: boolean) => a + String(b) + (c ? 'true' : 'false')
* const f = (a: string) => (b: number) => (c: boolean) => a + String(b) + String(c)
* const fa: O.Option<string> = O.some('s')
* const fb: O.Option<number> = O.some(1)
* const fc: O.Option<boolean> = O.some(true)
Expand Down

0 comments on commit 8f09669

Please sign in to comment.