Unbound Identifier Racket
#lang racket (define-syntax unpack (syntax-rules () [(unpack) (begin (define x 1))])) (unpack) (+ x 1) Why is it that I am getting an error: x: unbound identifier in: x? After defining the macro, I expect the code to define x appropriate w/o error? I can’t seem to figure this out, could it be an issue […]
Immutability across programming languages
I’m quite confused about the concept of mutability (or mutation?), especially across different languages. In a language like Python:
Design of Programming Languages
What are some resources for learning the design of programming language? I am a computer science student, and I have this course with a professor who is not good a teaching.
File explorer functionality for DrRacket?
For me, adding the ability to browse files/directories to DrRacket would be a giant help. I found a reference to the plugin, “files-viewer” but documentation links are broken. Can anyone offer how-to info on using this plugin or some other alternative? Thanks!
Why is there an error about redefining a constant in code that doesn’t redefine a constant?
The following code:
Why does DrRacket IDE considers some identifiers as “symbols” and some as “keywords”? What is the difference?
Why does DrRacket (kind of Scheme) IDE highlights some of the identifiers as “keywords” (for example define
, lambda
, send*
), and the others as “symbols” (user defined identifiers, +
, -
, abs
, send
, send+
, etc.)?
Why does DrRacket IDE considers some identifiers as “symbols” and some as “keywords”? What is the difference?
Why does DrRacket (kind of Scheme) IDE highlights some of the identifiers as “keywords” (for example define
, lambda
, send*
), and the others as “symbols” (user defined identifiers, +
, -
, abs
, send
, send+
, etc.)?
Why does DrRacket IDE considers some identifiers as “symbols” and some as “keywords”? What is the difference?
Why does DrRacket (kind of Scheme) IDE highlights some of the identifiers as “keywords” (for example define
, lambda
, send*
), and the others as “symbols” (user defined identifiers, +
, -
, abs
, send
, send+
, etc.)?
Why does DrRacket IDE considers some identifiers as “symbols” and some as “keywords”? What is the difference?
Why does DrRacket (kind of Scheme) IDE highlights some of the identifiers as “keywords” (for example define
, lambda
, send*
), and the others as “symbols” (user defined identifiers, +
, -
, abs
, send
, send+
, etc.)?
Why does DrRacket IDE considers some identifiers as “symbols” and some as “keywords”? What is the difference?
Why does DrRacket (kind of Scheme) IDE highlights some of the identifiers as “keywords” (for example define
, lambda
, send*
), and the others as “symbols” (user defined identifiers, +
, -
, abs
, send
, send+
, etc.)?