[plt-scheme] question of a casual drscheme (v. 424) user

From: Johannes Brauer (brauer at nordakademie.de)
Date: Wed Mar 17 09:30:35 EDT 2010

  Hi,
if I put

#lang scheme
(define f (list + 3 4))
(eval f)

in the definition pane of DrScheme I get in the following error
message in the interaction pane:
compile: bad syntax; function application is not allowed, because no #
%app syntax transformer is bound in: (#<procedure:+> 3 4)
Fine!

But  putting
(eval f)
in the interaction pane I get 7, what I expected above too.

Can anyone explain me the error message?

Thanks
Johannes




Staatlich anerkannte private Fachhochschule
NORDAKADEMIE
Gemeinnützige Aktiengesellschaft
Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns

Sitz:
Elmshorn, Amtsgericht Elmshorn, HRB 1682



Posted on the users mailing list.