blob: 9977eefc3053e27d91d3a40377fa1e49e1d72d9c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))
(let res_sink (DataSink 'result))
(let data (Coalesce (Nothing (OptionalType (DataType 'Uint32))) (Uint64 '1)))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (Coalesce (Nothing (OptionalType (DataType 'Uint64))) (Int64 '2)))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (Coalesce (Nothing (OptionalType (DataType 'Int64))) (+ (Uint32 '1) (Uint32 '2))))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (Coalesce (Nothing (OptionalType (DataType 'Uint32))) (Just (Uint32 '4))))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)
|