unison-runtime-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Runtime.Foreign

Documentation

data Foreign where Source #

Constructors

Wrap :: Reference -> !e -> Foreign 

Instances

Instances details
Show Foreign Source # 
Instance details

Defined in Unison.Runtime.Foreign

Eq Foreign Source # 
Instance details

Defined in Unison.Runtime.Foreign

Methods

(==) :: Foreign -> Foreign -> Bool #

(/=) :: Foreign -> Foreign -> Bool #

Ord Foreign Source # 
Instance details

Defined in Unison.Runtime.Foreign

data HashAlgorithm where Source #

Constructors

HashAlgorithm :: HashAlgorithm a => Reference -> a -> HashAlgorithm 

Instances

Instances details
BuiltinForeign HashAlgorithm Source # 
Instance details

Defined in Unison.Runtime.Foreign

wrapBuiltin :: forall f. BuiltinForeign f => f -> Foreign Source #

class BuiltinForeign f where Source #

Instances

Instances details
BuiltinForeign ThreadId Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign FilePath Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Handle Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign TimeSpec Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign SignedCertificate Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign PrivKey Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Socket Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign ClientSockAddr Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign ListenSocket Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign UDPSocket Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign ProcessHandle Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Context Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign ClientParams Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign ServerParams Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Referent Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Text Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign CPattern Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign CharPattern Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Code Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Value Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign HashAlgorithm Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign Bytes Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign (Ticket a) Source # 
Instance details

Defined in Unison.Runtime.Foreign

BuiltinForeign (IORef Val) Source # 
Instance details

Defined in Unison.Runtime.Stack

newtype Tls Source #

Constructors

Tls Context 

data Failure a Source #

Constructors

Failure Reference Text a