Merge pull request #8 from howell/master

Touch-up FAQ
This commit is contained in:
Sam Caldwell 2015-09-23 14:47:16 -04:00
commit bd328012a9
1 changed files with 6 additions and 1 deletions

7
FAQ.md
View File

@ -61,7 +61,7 @@
* How do I create a process/actor?
```racket
;; single actor
(spawn (lambda (event state) ... (transaction state' (list action ...)))
(spawn (lambda (event state) ... (transition state' (list action ...)))
initial-state
initial-action ...)
;; network of actors
@ -259,3 +259,8 @@
* Can I split a prospect program across multiple files?
- Only one module with `#lang prospect` can be used at a time.
* Why does `#f` keep getting sent as an event?
- When a behavior returns something besides `#f` in response to an event, it is
repeatedly sent `#f` until it does return `#f`.
- Think of it as a way of the network asking "anything else?"