Advertisement
Guest User

Untitled

a guest
Nov 26th, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. and nt_qt () =
  2. let nt_unSpliced = pack (caten (word ",@") (delayed nt_sexpr)) (fun (_,x) -> Pair(Symbol "unquote-splicing", Pair (x, Nil))) in
  3. let nt_unquoted = pack (caten (char ',') (delayed nt_sexpr)) (fun (_,x) -> Pair(Symbol "unquote", Pair (x, Nil))) in
  4. let nt_quote = pack (caten (char '\039') (delayed nt_sexpr)) (fun (_,x) -> Pair(Symbol "quote", Pair (x, Nil))) in
  5. let nt_qquote = pack (caten (char '`') (delayed nt_sexpr)) (fun (_,x) -> Pair(Symbol "quasiquote", Pair (x, Nil))) in
  6. let nt_qt_res = disj_list [nt_unSpliced;nt_quote; nt_qquote; nt_unquoted] in
  7. nt_qt_res
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement