Opened 15 years ago
Closed 15 years ago
#546 closed enhancement (fixed)
Renaming spock's <script>?
| Reported by: | Mario Domenech Goulart | Owned by: | felix winkelmann |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | extensions | Version: | 4.6.x |
| Keywords: | spock, <script> | Cc: | |
| Estimated difficulty: |
Description
spock exports a <script> macro. Coincidently, http://wiki.call-cc.org/egg/html-tags html-tags exports a procedure with the same name, since its procedures are named after html tags'.
Since both spock and html-tags are intended to be used by web applications, there's some chance they could be used together (e.g., integrating awful and spock for a hop-like framework). In this case, we'd have a name clash, unless we explicitly rename things on importing.
I could rename html-tags <script> procedure, but that would generate a special case which would be awkward and irrelevant when spock is not used.
So I was thinking that maybe spock's <script> could be renamed. Maybe <spock>, <javascript> or <spockscript>?
Change History (2)
comment:1 Changed 15 years ago by
| Milestone: | 4.7.0 |
|---|
comment:2 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

I'll rename it to
<spock>. Thanks for the tip.