blob: 2278581ec9386a0cd5584632e9d8b5128a80e7fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(
(let doAlterTo (lambda '(world src targetType failValue) ( block '(
(let res_sink (DataSink 'result))
(let identity (lambda '(x) x))
(let alterToResult (AlterTo src targetType identity failValue))
(let world (Write! world res_sink (Key) alterToResult '('('type))))
(let world (Commit! world res_sink))
(return world)
))))
(export doAlterTo)
)
|