subhask-0.1.1.0: Type safe interface for programming in subcategories of Hask

Safe HaskellNone
LanguageHaskell2010

SubHask.Compatibility.Containers

Description

Bindings to make the popular containers library compatible with subhask

Synopsis

Documentation

newtype Seq a Source

This is a thin wrapper around Data.Sequence

Constructors

Seq (Seq a) 

newtype Map i e Source

This is a thin wrapper around Data.Map

Constructors

Map (Map (WithPreludeOrd i) (WithPreludeOrd e)) 

Instances

(Show i, Show e) => Show (Map i e) Source 
(Eq e, Ord i, Semigroup e, Arbitrary i, Arbitrary e) => Arbitrary (Map i e) Source 
(NFData i, NFData e) => NFData (Map i e) Source 
IsMutable (Map i e) Source 
(Ord i, Eq e) => IxConstructible (Map i e) Source 
(Ord i, Eq e) => IxContainer (Map i e) Source 
Normed (Map i e) Source 
Ord i => Monoid (Map i e) Source 
Ord i => Semigroup (Map i e) Source 
(Ord i, POrd e) => MinBound_ (Map i e) Source 
(Ord i, Eq e) => POrd_ (Map i e) Source 
(Eq i, Eq e) => Eq_ (Map i e) Source 
data Mutable m (Map i0 e0) = Mutable_AppT__AppT__ConT_SubHask_Compatibility_Containers_Map___VarT_i_1628104360____VarT_e_1628104361_ (PrimRef m (Map i e)) Source 
type Index (Map i e) = i Source 
type Elem (Map i e) = e Source 
type Scalar (Map i e) = Int Source 
type Logic (Map i e) = Bool Source 
type ValidElem (Map i e1) e = () 
type SetIndex (Map i e) i' = Map i' e Source 
type SetElem (Map i e) e' = Map i e' Source 

newtype Map' i e Source

This is a thin wrapper around Data.Map.Strict

Constructors

Map' (Map (WithPreludeOrd i) (WithPreludeOrd e)) 

Instances

(Show i, Show e) => Show (Map' i e) Source 
(Eq e, Ord i, Semigroup e, Arbitrary i, Arbitrary e) => Arbitrary (Map' i e) Source 
(NFData i, NFData e) => NFData (Map' i e) Source 
IsMutable (Map' i e) Source 
(Ord i, Eq e) => IxConstructible (Map' i e) Source 
(Ord i, Eq e) => IxContainer (Map' i e) Source 
Normed (Map' i e) Source 
Ord i => Monoid (Map' i e) Source 
Ord i => Semigroup (Map' i e) Source 
(Ord i, POrd e) => MinBound_ (Map' i e) Source 
(Ord i, Eq e) => POrd_ (Map' i e) Source 
(Eq i, Eq e) => Eq_ (Map' i e) Source 
data Mutable m (Map' i0 e0) = Mutable_AppT__AppT__ConT_SubHask_Compatibility_Containers_Map'___VarT_i_1628105501____VarT_e_1628105502_ (PrimRef m (Map' i e)) Source 
type Index (Map' i e) = i Source 
type Elem (Map' i e) = e Source 
type Scalar (Map' i e) = Int Source 
type Logic (Map' i e) = Bool Source 
type ValidElem (Map' i e1) e = () 
type SetIndex (Map' i e) i' = Map' i' e Source 
type SetElem (Map' i e) e' = Map' i e' Source 

newtype IntMap e Source

This is a thin wrapper around Data.IntMap

Constructors

IntMap (IntMap (WithPreludeOrd e)) 

newtype IntMap' e Source

This is a thin wrapper around Data.IntMap.Strict

Constructors

IntMap' (IntMap (WithPreludeOrd e)) 

newtype Set a Source

This is a thin wrapper around the container's set type

Constructors

Set (Set (WithPreludeOrd a)) 

Instances

data LexSet a where Source

FIXME: implement this in terms of Lexical and Set

FIXME: add the Constrained Monad

Constructors

LexSet :: Ord a => Set a -> LexSet a