API Reference funx v#0.8.4
View SourceModules
Behaviour for custom equality logic in the Eq DSL.
The Funx.Eq.Protocol protocol defines an equality function, eq?/2, for comparing two values,
and its complement, not_eq?/2, for checking inequality.
Behaviour for applicative operations across monad DSLs.
Behaviour for bind operations across monad DSLs.
Behaviour for map operations across monad DSLs.
Behaviour for predicate operations across monad DSLs.
Provides the either/2 macro for writing declarative pipelines in the Either context.
Provides the maybe/2 macro for writing declarative pipelines in the Maybe context.
The Funx.Monoid.Optics.IsoCompose module provides a monoid wrapper for sequential iso composition.
The Funx.Monoid.Optics.LensCompose module provides a monoid wrapper for sequential lens composition.
The Funx.Monoid.Optics.PrismCompose module provides a monoid wrapper for sequential prism composition.
The Funx.Monoid.Optics.TraversalCombine module provides a monoid wrapper for parallel traversal combination.
Provides default ordering functions using the Funx.Ord.Protocol.
Behaviour for custom ordering logic in the Ord DSL.
The Funx.Ord.Protocol defines a set of comparison functions: lt?/2, le?/2, gt?/2, and ge?/2.
Predicate that checks if a collection contains a specific element using an
Eq comparator.
Behaviour for custom predicate logic in the Predicate DSL.
Predicate that checks if a value equals an expected value using an Eq
comparator.
Predicate that checks if a value is strictly greater than a reference value
using an Ord comparator.
Predicate that checks if a value is greater than or equal to a reference value
using an Ord comparator.
Predicate that checks if a value is a member of a given collection using an
Eq comparator.
Predicate that checks if a value is an integer.
Predicate that checks if a value is false.
Predicate that checks if a value is true.
Predicate that checks if a value is strictly less than a reference value
using an Ord comparator.
Predicate that checks if a value is less than or equal to a reference value
using an Ord comparator.
Predicate that checks if a string does not exceed a maximum length.
Predicate that checks if a string meets a minimum length requirement.
Predicate that checks if a number is strictly negative (< 0).
Predicate that checks if a value does not equal an expected value using an
Eq comparator.
Predicate that checks if a value is not a member of a given collection using
an Eq comparator.
Predicate that checks if a string matches a regular expression pattern.
Predicate that checks if a number is strictly positive (> 0).
Predicate that checks if a value is present (not nil and not empty string).
Declarative validation DSL using optics and applicative error accumulation.
Behaviour for validation functions.
Macro for building custom validators with minimal boilerplate.
Validates that all elements in a list are equal to each other.
Validates that at least one of several alternative validators succeeds.
Validates that a value matches another field in the data structure.
Validates that a collection contains a specific element using an Eq
comparator.
Validates that every element in a list passes a given validator (or validators).
Validates that a string is a valid email format.
Validates that a value is equal to a given expected value using an Eq
comparator.
Validates that a value is strictly greater than a given reference value
using an Ord comparator.
Validates that a value is greater than or equal to a given reference value
using an Ord comparator.
Validates that a value is a member of a given collection using an Eq
comparator.
Validates that a value is an integer.
Validates that a value is strictly less than a given reference value
using an Ord comparator.
Validates that a value is less than or equal to a given reference value
using an Ord comparator.
Lifts a predicate into the validation context.
Validates that a string does not exceed a maximum length.
Validates that a string meets a minimum length requirement.
Validates that a number is strictly negative (< 0).
Validates that a given validator does not succeed.
Validates that a value is not equal to a given reference value using an Eq
comparator.
Validates that a value is not a member of a given collection using an Eq
comparator.
Validates that a string matches a regular expression pattern.
Validates that a number is strictly positive (> 0).
Validates that a number falls within an inclusive range.
Validates that a value is present (not nil, not empty string, not Nothing).