[plt-scheme] version 4 (4.1.3) newbie question

From: Johannes Brauer (brauer at nordakademie.de)
Date: Tue Nov 3 05:10:39 EST 2009

   Hi,
if I put

#lang scheme

(list? (cons 1 '()))
(filter (lambda (x) (> x 5)) '(3 5 6 7))

in the definition pane of DrScheme I get in the interaction pane:
#t
(6 7)

Fine! But  putting
#lang scheme
(require r5rs/init)

(list? (cons 1 '()))
(filter (lambda (x) (> x 5)) '(3 5 6 7))

in the definition pane I get an error message:

filter: expected argument of type <proper list>; given (3 5 6 7)

Can anyone explain me that?

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.