blob: 758cd43bf40fc4682121e1d7ab7cb2c8aebab3bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))
(let list (AsList (String 'a) (String 'b) (String 'c)))
(let data (Fold list (Uint32 '0) (lambda '(item state) (+ state (Uint32 '1)))))
(let res_sink (DataSink 'result))
(let world (Write! world res_sink
(Key)
data '()))
(let world (Commit! world res_sink))
(return world)
)
|