bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #39501] invalid use of unquote-splicing


From: anonymous
Subject: [Bug-kawa] [bug #39501] invalid use of unquote-splicing
Date: Wed, 17 Jul 2013 00:34:16 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

URL:
  <http://savannah.gnu.org/bugs/?39501>

                 Summary: invalid use of unquote-splicing
                 Project: Kawa
            Submitted by: None
            Submitted on: Wed 17 Jul 2013 12:34:15 AM UTC
                Category: Code generation
                Severity: 3 - Normal
              Item Group: Unexpected result
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Use of unquote-splicing in nested quasiquote yields complaints from Kawa where
I don't think there should be any problem. Comparing a Gambit REPL session to
a Kawa REPL session:

Gambit:

>(define-macro (a)
   `(define-macro (b . x) `(+ 1 ,@x)))
>(a)
>(b 1 2 3)
7

Kawa:
>(define-macro (a)
   (define-macro (b . x) `(+ 1 ,@x)))
>(a)
/dev/stdin:2:6: invalid used of unquote-splicing in quasiquote template





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39501>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]