diff --git a/src/function.ts b/src/function.ts index 5f5e62502..a4457ea8a 100644 --- a/src/function.ts +++ b/src/function.ts @@ -30,7 +30,8 @@ export const getBooleanAlgebra = * Unary functions form a semigroup as long as you can provide a semigroup for the codomain. * * @example - * import { Predicate, getSemigroup } from 'fp-ts/function' + * import { getSemigroup } from 'fp-ts/function' + * import { Predicate } from 'fp-ts/Predicate' * import * as B from 'fp-ts/boolean' * * const f: Predicate = (n) => n <= 2