1 Evaluation Model
2 Syntax Model
3 Core Syntactic Forms
4 Core Datatypes
5 Structures
6 Classes and Objects
7 Units
8 Contracts
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
Index
On this page:
#%expression

contents

 index

← prev  up  next →

 

3.2 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))

  define: not allowed in an expression context in: (define x

  10)

 

contents

 index

← prev  up  next →