Skip to content

AlexKnauth/hygienic-quote-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hygienic-quote-lang Build Status

A lang-extension that overrides the ', `, etc. abbreviations for quote, quasiquote, etc, and provides hygienic versions instead.

documentation: http://pkg-build.racket-lang.org/doc/hygienic-quote/index.html

Even if you re-define quote somewhere in your program (either accidentally or on purpose), '3 will use the quote from racket/base, not your definition. The same is true for ` as quasiquote, , as unquote, ,@ as unquote-splicing, #' as syntax, #` as quasisyntax, #, as unsyntax, and #,@ as unsyntax-splicing.

#lang hygienic-quote racket
(define (quote x) 5)
'3 ; still 3

About

hygienic versions of quote-like racket reader macros

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages