1 Language Model
2 Syntactic Forms
3 Datatypes
4 Structures
5 Classes and Objects
6 Units
7 Contracts
8 Pattern Matching
9 Control Flow
10 Concurrency
11 Macros
12 Input and Output
13 Reflection and Security
14 Operating System
15 Memory Management
16 Running PLT Scheme
Bibliography
Index
On this page:
#%expression
Version: 4.0.2

 

2.4 Expression Wrapper: #%expression

(#%expression expr)

Produces the same result as expr. The only use of #%expression is to force the parsing of a form as an expression.

Examples:

  > (#%expression (+ 1 2))

  3

  > (#%expression (define x 10))

  eval:4:0: define: not allowed in an expression context in:

  (define x 10)