From the signatures of these functions, the obvious difference is that set-macro-character allows you to set reader macro function for a single character, and set-dispatch-macro-character allows you to set it for any combination of two characters. Is this the only difference? When do I need to use one instead of another?
What's the difference between set-macro-character and set-dispatch-macro-character?
485 Views Asked by OlegTheCat At
1
There are 1 best solutions below
Related Questions in COMMON-LISP
- UTF-8 string has too many bytes using SBCL and babel on Windows 64 bits
- Common Lisp: How to use a macro within a macro?
- How do I get a notification upon table change with Postmodern in Common Lisp?
- in SBCL why does setting *print-circle* to T in LET in common lisp not work, but SETF does print circular list fine?
- Case statement/form errors?
- unexpected interaction between macroexpand-1 and macrolet
- common lisp type vector of fixnums
- Testing with fiveam
- How to load FRL into Clisp?
- How do I force a CFFI-defined foreign library to use a specific version of a shared library?
- SBCL VLIME use CFFI
- SBCL REPL Wrong Reuse of Cons Cells?
- How do you get the SBCL foreign function interface example from the SBCL User Manual to work?
- Reading hash table from file fails
- do v. do*: Why does the same code produce a different result?
Related Questions in READER-MACRO
- Controlling the printing of special cons forms (e.g printing (function +) as #'+ etc)
- Why does the Lisp reader return `(list 1 2 3)` instead of `(1 2 3)` when using reader macros?
- read's recursive-p argument when used inside a reader macro
- Readtable conflicts with cl-annot (cl-syntax, jonathan) and pythonic-string-reader
- Common Lisp Read Macro for "lazy infix or," to destructure keywords
- How do I use a reader macro directly in Racket?
- How to disable a reader macro?
- What are limitations of reader macros in Common Lisp
- What's the difference between set-macro-character and set-dispatch-macro-character?
- Common Lisp No Dispatch Character Defined
- Common Lisp Hash-Dot #. Reader Macro
- Clojure function literal with 'rest arguments' macro after 'discard' reader macro
- What is the meaning of #+: and #-: in common lisp
- Can I get the boundaries of a macro in their expansion site?
- What's the meaning of "#+" in the code of cl-mysql?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
set-macro-charactergoverns reading objects marked with a single special character, e.g.,(...); ...set-dispatch-macro-charactergoverns reading objects marked with two (or more) characters, e.g.,#(...)#A(...)#S(...)See