Opened 14 years ago

Closed 14 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 14 years ago by felix winkelmann

Milestone: 4.7.0

comment:2 Changed 14 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.