Top-1.7: Constraint solving framework employed by the Helium Compiler.

Safe HaskellSafe-Infered

Top.Util.Embedding

Description

 

Documentation

data Embedding a b Source

Constructors

Embedding 

Fields

getE :: a -> b
 
changeE :: (b -> b) -> a -> a
 

setE :: Embedding a b -> b -> a -> aSource

withE :: Embedding a b -> (b -> c) -> a -> cSource

fstE :: Embedding (a, b) aSource

sndE :: Embedding (a, b) bSource