Copyright | (c) 2019-2020 Kowainik |
---|---|
License | MIT |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Stability | Experimental |
Portability | Portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module exports all extra-related stuff. The extra modules are not exported by default, but you can easily bring them to every module in your package by modifying your Prelude file.
Synopsis
- module Relude.Extra.Bifunctor
- module Relude.Extra.CallStack
- module Relude.Extra.Enum
- module Relude.Extra.Foldable
- module Relude.Extra.Foldable1
- module Relude.Extra.Group
- module Relude.Extra.Lens
- module Relude.Extra.Map
- module Relude.Extra.Newtype
- module Relude.Extra.Tuple
- module Relude.Extra.Type
- module Relude.Extra.Validation
Documentation
module Relude.Extra.Bifunctor
Additional combinators for Bifunctor
.
module Relude.Extra.CallStack
Useful functions to extract information from CallStack
.
module Relude.Extra.Enum
module Relude.Extra.Foldable
Extra folds for instances of the Foldable
typeclass.
Currently, just a short-circuitable left fold foldlSC
.
module Relude.Extra.Foldable1
Foldable1
is a typeclass like Foldable
but for non-empty structures.
For example, NonEmpty
, Identity
.
Foldable1
has all type-safe and total methods like head1
, maximum1
in
contradiction with Foldable
.
module Relude.Extra.Group
Grouping functions, polymorphic on return Map
type.
module Relude.Extra.Lens
Minimal implementation of lens
package required for basic usage.
module Relude.Extra.Map
The typeclass for Map
-like data structures.
module Relude.Extra.Newtype
Generic functions that automatically work for any newtype
.
module Relude.Extra.Tuple
Functions for working with tuples.
module Relude.Extra.Type
Functions for inspecting and working with types.
module Relude.Extra.Validation
Validation
data type.
⚠️ Warning ⚠️ Relude.Extra.Validation is deprecated in favour of validation-selective.