-
I expected "(quasiquote (quasiquote unquote)" to produce "'`unquote" but instead it errors.
For (imperfect) reference, Chez Scheme Version 9.5's behaviour is the analogue to the above (though its …
-
I get this:
```
; caught ERROR:
; during macroexpansion of (MATCH FORM (# X) ...). Use *BREAK-ON-SIGNALS* to intercept.
; Non-linear pattern: (STRUCTURE FARE-QUASIQUOTE::LIST* (FARE-QUASIQU…
-
I much prefer to use quasiquote than `close-syntax`, but I often have to use `close-syntax` to append a `(List Syntax)` at the end of a `list-contents`. Being able to write
```
`(list ,@xs)
```
…
-
Per Bothner posted a message on scheme-reports:
http://lists.scheme-reports.org/pipermail/scheme-reports/2011-July/001142.html
The context is that R7RS probably will have the syntax for self-referen…
hyln9 updated
9 years ago
-
Let's take an arbitrary piece of Scala code as a String. If dotty parser and the quasiquotes produce different trees, it is likely either toolbox or quasiquotes have a bug. In this way we can relative…
-
```
> (quasiquote (0 1 2))
'(0 1 2)
> (quasiquote (0 (unquote (+ 1 2)) 4))
'(0 3 4)
> (quasiquote (0 (unquote-splicing (list 1 2)) 4))
'(0 1 2 4)
> (quasiquote (0 (unquote-splicing 1) 4))
unqu…
-
It came up in https://github.com/ghc-proposals/ghc-proposals/pull/125 that `QuasiQuotes` is basically a work-around for not have good multi-line string literal syntax (in conjunction with TH splices),…
-
I often use quasiquoters for things like JSON, SQL queries, JavaScript code, etc. It would be great if there was a way to configure quasiquoters with specific names to syntax highlight for the syntax …
-
the below function results in `Warning: unknown directive #{im_not_a_directive}`
indenting the contents fixes it for me, but wouldn't be valid in certain cases
```haskell
f = [blah|
#{im_not_a_d…
-
Macroexpansion of `(quasiquote #1=(#1#))` dies. This is because `expand` immediately calls itself on the car and cdr of its argument if given a cons.
I suppose it's debatable whether quasiquote sho…