runtime_quote_code.sql 413 B

12345678910111213
  1. /* postgres can not */
  2. /* syntax version 1 */
  3. select
  4. FormatCode(QuoteCode(AsAtom("foo"))),
  5. FormatCode(QuoteCode(AsTuple())),
  6. FormatCode(QuoteCode(AsTuple(AsAtom("foo"),AsAtom("bar")))),
  7. FormatCode(QuoteCode(1)),
  8. FormatCode(QuoteCode(($x,$y)->{ return $x+$y })),
  9. ListMap(ListFromRange(1,4), ($x)->{
  10. return FormatCode(QuoteCode(
  11. ($y)->{ return $x+$y }
  12. ))
  13. });