Sqr.yqls 290 B

1234567891011
  1. # program
  2. (
  3. (let config (DataSource 'config))
  4. (import sqr_module '"/lib/yql/sqr.yql")
  5. (let mySqr (bind sqr_module 'sqr))
  6. (let res_sink (DataSink 'result))
  7. (let world (Write! world res_sink (Key) (Apply mySqr (Uint32 '4)) '('('type))))
  8. (let world (Commit! world res_sink))
  9. (return world)
  10. )