prelude-plus-0.0.0.6: Prelude for rest of us

Prelude.Plus

Contents

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.

Synopsis

Exposed modules

module Data.List

module Data.Ord

module Prelude

module System.IO

Misc Tuple Functions

dup :: a -> (a, a)Source

swap :: (a, b) -> (b, a)Source

Generic Functions

null :: Foldable t => t a -> BoolSource

size :: Foldable t => t a -> IntSource