I had the following in the Scribble documentation for the simulation collection.<br><br>@defproc[(set-insert! (set set?) (item any/c) (priority real? 100)) any]{<br>Create a cell containing @scheme[item] and inserts it into @scheme[set] with the given @scheme[priority] according to the type of the set.<br>
<br>@itemize{<br> @item{@scheme[#:fifo]---@scheme[item] is inserted at the end of @scheme[set]. The @scheme[priority], if provided, is ignored.}<br> @item{@scheme[#:lifo]---@scheme[item] is inserted at the beginning of @scheme[set]. The @scheme[priority], if provided, is ignored.}<br>
@item{@scheme[#:priority]---@scheme[item] is inserted into @scheme[set] according to the @scheme[priority]. If @scheme[priority] is not provided, the default value of @math{100} is used.}<br> }}<br><br>That worked fine at the time version 3.3 of the simulation collection was built. [That was Nov. 27, 2008 according to the SVN log, but I'm not sure what version of PLT Scheme I had loaded at that time.] Now it gives a syntax error and points to the first item in the itemized list. Removing that one just moves the error the the second item.<br>
<br>Moving the itemized list outside of the body of the defproc block removes the error. The closing brace (curly bracket) was moved from the end of the itemized list up before the itemized list.<br><br>
@defproc[(set-insert! (set set?) (item any/c) (priority real? 100)) any]{<br>
Create a cell containing @scheme[item] and inserts it into @scheme[set]
with the given @scheme[priority] according to the type of the set.}<br>
<br>
@itemize{<br>
@item{@scheme[#:fifo]---@scheme[item] is inserted at the end of
@scheme[set]. The @scheme[priority], if provided, is ignored.}<br>
@item{@scheme[#:lifo]---@scheme[item] is inserted at the beginning of
@scheme[set]. The @scheme[priority], if provided, is ignored.}<br>
@item{@scheme[#:priority]---@scheme[item] is inserted into
@scheme[set] according to the @scheme[priority]. If @scheme[priority]
is not provided, the default value of @math{100} is used.}<br>
}<br>
<br>Does anyone know what the problem is?<br><br>The real problem is that building the Scribble documents failed when the simulation collection was downloaded from PLaneT using PLT Scheme 4.1.5. I've updated the PLaneT package so it loads now, but wonder if any other packages have a similar problem.<br>
<br>Doug<br>