Format.k 333 B

1234567891011
  1. invoke {
  2. assert 1 is Representable
  3. assert '1' is Representable
  4. assert true is Representable
  5. assert [] is not Representable
  6. assert ('a${}c' << 'b') == 'abc'
  7. assert ('a${1}c' << ['b']) == 'abc'
  8. assert ('0${1}${2}3' << [1,2]) == '0123'
  9. assert ('0${a}2${b}4 ${t}' << {a:1,b:3,t:false}) == '01234 false'
  10. }