distributed-process-0.2.0.1: Cloud Haskell: Erlang-style concurrency in Haskell

Safe HaskellNone

Control.Distributed.Process.Internal.Closure.TH

Contents

Description

Template Haskell support

(In a separate file for convenience)

Synopsis

User-level API

remotable :: [Name] -> Q [Dec]Source

Create the closure, decoder, and metadata definitions for the given list of functions

mkClosure :: Name -> Q ExpSource

Create a closure

If f :: a -> b then mkClosure :: a -> Closure b. Make sure to pass f as an argument to remotable too.