ListTakeOption.yqls 265 B

12345678910
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let res_sink (DataSink 'result))
  5. (let data (AsList (Uint32 '3) (Uint32 '5) (Uint32 '7) (Uint32 '10)))
  6. (let world (Write! world res_sink (Key) data '('('take '2))))
  7. (let world (Commit! world res_sink))
  8. (return world)
  9. )