NarrowStruct.yqls 322 B

12345678910
  1. (
  2. (let config (DataSource 'config))
  3. (let res_sink (DataSink 'result))
  4. (let data (AsList (AsStruct '('key (Just (Int64 '12))))))
  5. (let data (Append data (AsStruct '('key (Int64 '34)) '('value (String 'foo)))))
  6. (let world (Write! world res_sink (Key) data '('('type))))
  7. (let world (Commit! world res_sink))
  8. (return world)
  9. )