vector-0.10.12.1: Efficient Arrays

Copyright(c) Roman Leshchinskiy 2009
LicenseBSD-style
MaintainerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Vector.Fusion.Util

Description

Fusion-related utility types

Synopsis

Documentation

newtype Id a Source

Identity monad

Constructors

Id 

Fields

unId :: a
 

Instances

Monad Id 
Functor Id 
Applicative Id 
Eq a => Eq (Stream Id a) 
Ord a => Ord (Stream Id a) 

data Box a Source

Box monad

Constructors

Box 

Fields

unBox :: a
 

delay_inline :: (a -> b) -> a -> b Source

Delay inlining a function until late in the game (simplifier phase 0).

delayed_min :: Int -> Int -> Int Source

min inlined in phase 0