RPC-0.3: Mechanism for (de)serializing closures for remote execution.

Safe HaskellSafe-Infered

RPC.Reg

Description

Runtime metadata functions, part of the RPC mechanism

Synopsis

Documentation

registerCalls :: [RemoteCallMetaData] -> Lookup

Creates a metadata lookup table based on compile-time metadata. You probably don't want to call this function yourself, but instead use remoteInit.

data Lookup

Instances

type RemoteCallMetaData = Lookup -> Lookup

Data of this type is generated at compile-time by remotable and can be used with registerCalls and remoteInit to create a metadata lookup table, Lookup. The name __remoteCallMetaData will be present in any module that uses remotable.