diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-01-01 17:39:50 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-01-01 17:42:38 -0500 |
commit | 1c958fb668cb316245ab9f53833960c28fda0f59 (patch) | |
tree | db36ec2dd0c2e94323c10635a55b5b18e1c1edfe /examples/mines/images/flag.png | |
parent | 23d69fdb85481bfc915bb28ff4dafd4765ac90f8 (diff) |
signal: Add hook API for side-effects.
* sly/signal.scm (<signal>)[hook]: New field.
(signal-hook): New selector.
(add-signal-hook, remove-signal-hook, clear-signal-hook!): New
procedures.
(%make-signal): Create hook for the signal.
(signal-propagate!): Run hook.
Diffstat (limited to 'examples/mines/images/flag.png')
0 files changed, 0 insertions, 0 deletions