git.iko.soy/distributed-process
on master help sign in
Improve docs
commit5aea7b981b636d3ae58f7ccdafea9ba9492cc967 authorEdsko de Vries <edsko@well-typed.com> dateWed 5 Sep 2012, 12:21 (14 years ago) parent076ab9e
1 file changed+4
distributed-process/src/Control/Distributed/Process/Internal/Closure/TH.hs+4
distributed-process/src/Control/Distributed/Process/Internal/Closure/TH.hs+4
@@ -96,6 +96,10 @@ remotable ns = do
9696-- dictionaries and static versions that 'remotable' also creates.
9797-- 'remotableDec' is sometimes necessary when you want to refer to, say,
9898-- @$(mkClosure 'f)@ within the definition of @f@ itself.
99+--
100+-- NOTE: 'remotableDec' creates @__remoteTableDec@ instead of @__remoteTable@
101+-- so that you can use both 'remotable' and 'remotableDec' within the same
102+-- module.
99103remotableDec :: [Q [Dec]] -> Q [Dec]
100104remotableDec qDecs = do
101105 decs <- concat <$> sequence qDecs