blob: 2924cf4e0024ac43c047dd9bfc6f918a647014df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(
#comment
(let mr_source (DataSource 'yt 'plato))
(let x (Read! world mr_source (Key '('table (String 'Input))) '('key 'subkey 'value) '()))
(let world (Left! x))
(let table1 (Right! x))
(let tresh (String '100))
(let table1low (Filter table1 (lambda '(item) (< (Member item 'key) tresh))))
(let res_sink (DataSink 'result))
(let data (Skip table1 (- (Max (Uint64 '1) (Length table1low)) (Uint64 '1))))
(let world (Write! world res_sink (Key) data '()))
(let world (Commit! world res_sink))
(return world)
)
|