Prelude.Plus
Description
This library provides couple utility functions and re-exports some useful modules.
Some modules are useful but names of functions in them are confliting to Prelude's one. So if we want to use them, we need qualified import or specifing no implict importing prelude.
This library takes over these boilerplates.
So, write after your module header
import Prelude () import Prelude.Plus -- Then your code goes here.
So you can use function or
has type Traversable t => t Bool ->
Bool
, putStrLn
works for any utf8 strings, even Applicative
operators, etc.
Yes, Control.Applicative doesn't need qualified importing but importing such modules are also boilerplates, IMO.
- module Control.Applicative
- module Control.Arrow
- module Control.Monad
- module Control.Exception
- module Control.Category
- module Data.Traversable
- module Data.Foldable
- module Data.Monoid
- module Data.List
- module Data.Function
- module Data.Ord
- module Prelude
- module System.IO
- module System.IO.UTF8
- module System.Environment.UTF8
- dup :: a -> (a, a)
- swap :: (a, b) -> (b, a)
- null :: Foldable t => t a -> Bool
- size :: Foldable t => t a -> Int
Exposed modules
module Control.Applicative
module Control.Arrow
module Control.Monad
module Control.Exception
module Control.Category
module Data.Traversable
module Data.Foldable
module Data.Monoid
module Data.List
module Data.Function
module Data.Ord
module Prelude
module System.IO
module System.IO.UTF8
module System.Environment.UTF8