syntax-rules Questions

4

Solved

I've read JRM's Syntax-rules Primer for the Merely Eccentric and it has helped me understand syntax-rules and how it's different from common-lisp's define-macro. syntax-rules is only one way of imp...
Sinter asked 25/9, 2008 at 4:7

1

Solved

I have been writing Common Lisp macros, so Scheme's R5Rs macros are a bit unnatural to me. I think I got the idea, except that I don't understand how one would use vector patterns in syntax-rules: ...
Marybethmaryellen asked 26/3, 2010 at 21:11

9

Solved

In C# I could easily write the following: string stringValue = string.IsNullOrEmpty( otherString ) ? defaultString : otherString; Is there a quick way of doing the same thing in Python or am I s...
Liber asked 25/9, 2008 at 19:6

5

Solved

I want to write a syntax highlighting extension for Emacs, but I Googling of variations on "emacs syntax highlight tutorial" have all failed. How do I go about learning how to write an Emacs highli...
Kneehigh asked 15/5, 2009 at 4:9

5

Solved

This question originally asked (wrongly) what does "|" mean in Python, when the actual question was about Django. That question had a wonderful answer by Triptych I want to preserve.
Countrywide asked 6/1, 2009 at 17:18
1

© 2022 - 2024 — McMap. All rights reserved.