From 2e66d5d7caa860580fbabd9cbfd2a3a17b3db6b7 Mon Sep 17 00:00:00 2001 From: "J. Rinaldi" <2664441+m-rinaldi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:18:02 +0100 Subject: [PATCH] Update doc in function.ts --- src/function.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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