[plt-scheme] Bug in here strings?

From: pp (pedro.e.pinto at gmail.com)
Date: Wed Apr 2 17:42:28 EDT 2008

Hi there. I think there is an inconsistency in the way here strings
are evaluated in the REPL versus when loaded from file. This is
Windows, 372.

Consider the following module:

(module t mzscheme
  (provide test)

  (define test #<<!
test
!
    ))

when this module is entered in DrScheme and evaluated, we can do this:

> (require t)
> test
"test"

Which is what is expected. But if, instead we load the module from
file we get:

> (require "t.scm")
> test
"test\r"


-pp


Posted on the users mailing list.