CountBits.yqls 757 B

1234567891011121314151617
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let res_sink (DataSink 'result))
  5. (let world (Write! world res_sink (Key) (CountBits (Int8 '-1)) '('('type))))
  6. (let world (Write! world res_sink (Key) (CountBits (Uint8 '7)) '('('type))))
  7. (let world (Write! world res_sink (Key) (CountBits (Int16 '-1)) '('('type))))
  8. (let world (Write! world res_sink (Key) (CountBits (Uint16 '16)) '('('type))))
  9. (let world (Write! world res_sink (Key) (CountBits (Int32 '1)) '('('type))))
  10. (let world (Write! world res_sink (Key) (CountBits (Uint32 '0)) '('('type))))
  11. (let world (Write! world res_sink (Key) (CountBits (Int64 '-7)) '('('type))))
  12. (let world (Write! world res_sink (Key) (CountBits (Uint64 '7)) '('('type))))
  13. (let world (Commit! world res_sink))
  14. (return world)
  15. )