Handbook
Glossary
handle-patch ( action -- response )
Vocabulary
furnace
.
actions
Inputs
action
an
object
Outputs
response
an
object
Definition
USING:
accessors
combinators
furnace.utilities
http.server.responses
kernel
;
IN:
furnace.actions
:
handle-patch
( action -- response )
[
dup
update>>
[
[
validate>>
( -- )
call-effect
]
[
authorize>>
( -- )
call-effect
]
[
update>>
( -- response )
call-effect
]
tri
]
[
drop
<400>
]
if
]
curry
with-exit-continuation
;