src/module-impl.lisp: Eliminate `define-fragment'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 22 Sep 2015 10:27:11 +0000 (11:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 23 Sep 2015 09:00:45 +0000 (10:00 +0100)
commitb3354e08ea601fe2420c15a9a16d1f6d5b98a897
tree33a1c68637fa2c698971b62c706e7063a71cc0a6
parent7f2917d28642cfbdf590ff26f0cdd91a79b1c489
src/module-impl.lisp: Eliminate `define-fragment'.

It had a severely deficient interface: it could only define fragments
with constant contents.  Moreover, although it made an effort to accept
a string-literal as its text, it ended up in a tangle because
`code-fragment-item' insists on its `fragment' slot actually containing
a code fragment, and nothing does the conversion.

Rather than fix these bugs, I noticed that nothing actually used it at
all, so removing it completely seemed like a better option.
src/module-impl.lisp