StreamMap.yqls 313 B

1234567891011
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let res_sink (DataSink 'result))
  5. (let list (AsList (Uint32 '1) (Uint32 '2) (Uint32 '3)))
  6. (let world (Write! world res_sink (Key) (Collect (Map (Iterator list)
  7. (lambda '(x) (+ (Uint32 '10) x)))) '('('type))))
  8. (let world (Commit! world res_sink))
  9. (return world)
  10. )