Sha256: 2829e52fc5588ebddfa6fbcc7d00be85597fe5e110decf11d05a008b7575dcb0

Contents?: true

Size: 887 Bytes

Versions: 1

Compression:

Stored size: 887 Bytes

Contents

(examples-for to-string
  ("unquote"           (to-string '(unquote a))           ",a"           )
  ("quote"             (to-string '(quote a))             "'a"           )
  ("quasiquote"        (to-string '(quasiquote a))        "`a"           )
  ("unquote-splicing"  (to-string '(unquote-splicing a))  ",@a"          )
  ("percent-syntax"    (to-string '(percent-syntax || a)) "%a"           )
  ("colon-syntax"      (to-string '(colon-syntax a b c))  "a:b:c"        )
  ("dot-syntax"        (to-string '(dot-syntax a b c))    "a.b.c"        )
  ("brace-list"        (to-string '(brace-list a))        "{ a }"        )
  ("brace-list"        (to-string '(brace-list a b))      "{ a b }"      )
  ("brace-list"        (to-string '(brace-list a b c d))  "{ a b c d }"  )
  ("prefix-list"
   (to-string '((prefix-list "%a.item" (href path)) anchor))
   "(%a.item(href path) anchor)"))

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nydp-0.6.0 lib/lisp/tests/unparse-tests.nydp