[plt-scheme] Bug in here strings?
On Apr 2, pp wrote:
> 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
> !
> ))
FWIW, you can use the scribble reader in a similar way:
#reader(lib "reader.ss" "scribble")
(define test
@string-append{blah
blah
blah})
It's more well behaved in many ways, like ignoring the indentation --
and translating all newlines to "\n" strings.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!