We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d8958 commit 075bcb1Copy full SHA for 075bcb1
src/core-meta.l2
@@ -764,15 +764,14 @@
764
(closure (func) (l r)
765
`:(with percent.return [,:func percent.return , l]):r r)))
766
767
-(-- A macro to define C-style substitution macros. Does the following transformation:
768
- ((define id macro) frags ...)
+(-- A macro to alias a macro. Does the following transformation:
+ (define id macro)
769
->
770
- (macro frags ...))
+ (function id (l r) [macro l r]))
771
772
(function define (l r)
773
- `:(function ,:[@fst l] (l r)
774
- (let (macro ,:[meta.qval [@frst l] r])
775
- [lst macro l r])):r)
+ `:(function ,:[@fst l] (define.l define.r)
+ [,:[@frst l] define.l define.r]):r)
776
777
(-- This macro exists to form a pair with Value.)
778
0 commit comments