unison-runtime-0.0.0
Safe HaskellNone
LanguageHaskell2010

Unison.Runtime.Interface

Synopsis

Documentation

data StoredCache Source #

A version of the Code Cache designed to be serialized to disk as standalone bytecode.

Instances

Instances details
Show StoredCache Source # 
Instance details

Defined in Unison.Runtime.Interface

Eq StoredCache Source # 
Instance details

Defined in Unison.Runtime.Interface

data RuntimeHost Source #

Whether the runtime is hosted within a persistent session or as a one-off process. This affects the amount of clean-up and book-keeping the runtime does.

Constructors

OneOff 
Persistent 

terminate :: Runtime e e' v -> IO () Source #

Exported for tests

getStoredCache :: forall (m :: Type -> Type). PrimBase m => Get m StoredCache Source #

error serialization (these should live in unison-cli, but they still have some call sites here)

prettyError Source #

Arguments

:: Applicative f 
=> (Word -> f (Pretty ColorText))

A function for displaying unisonweb/unison issue numbers (for example, showIssueUrl).

-> Error 
-> f (Pretty ColorText) 

NB: The only reason this is in the unison-runtime package is because it’s used in the tests. Otherwise it should move to unison-cli.