summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-04-25 08:54:51 -0400
committerDavid Thompson <dthompson2@worcester.edu>2016-04-25 08:54:51 -0400
commit9958edd9d61f13b181a9f44ec12f713d5819451a (patch)
tree75a795be994e6bbac7ac1e92b39370733030912a /doc/api
parent1a83132fec473c4a5c590acd8b50cf88e4d2965e (diff)
actor: Add apply-effects procedure.
* sly/actor.scm (apply-effects): New procedure. * doc/api/scripting.texi (Actors): Document it.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/scripting.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/scripting.texi b/doc/api/scripting.texi
index 299cf0f..77ef734 100644
--- a/doc/api/scripting.texi
+++ b/doc/api/scripting.texi
@@ -157,6 +157,12 @@ new actor containing the value returned from @var{proc}. The actor's
action remains unchanged.
@end deffn
+@deffn {Scheme Procedure} apply-effects @var{effects} @var{world}
+Apply each effect procedure in @var{effects} using @var{world} as an
+initial value. Each successive effect is applied with the world
+returned by the previous effect.
+@end deffn
+
@node Actions
@subsection Actions