Taylan Ulrich Bayirli/Kammer <taylanbayi...@gmail.com>: >> The block comment documentation[1] claims that the closing "!#" must >> appear on its own line, but this doesn't actually seem to be the >> case[2]. For example, the line "(display #! comment !# 1)" >> successfully outputs "1". >> >> Can anyone clarify whether the documentation needs to be updated, or >> if the currently acceptable syntax is unintentional and should be >> avoided? > > While I don't know the answer to your question, Guile 2.0.11 already > seems to support the #| |# syntax, which has been standardized in > R7RS,
The "#!" syntax is there for one purpose only: to support the unix/linux hash-bang syntax. Every "scripting" language needs to support it. "#|" can't replace it. I wouldn't use "#!" anywhere else in a guile source file. <URL: http://en.wikipedia.org/wiki/Shebang_%28Unix%29> Marko