distributed-process-0.2.0.1: Cloud Haskell: Erlang-style concurrency in Haskell
Control.Distributed.Process.Internal.Closure.TH
Contents
Description
Template Haskell support
(In a separate file for convenience)
Synopsis
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.
f :: a -> b
mkClosure :: a -> Closure b
f
remotable