On Wed, May 30, 2012 at 9:20 PM, Sam Tobin-Hochstadt <[email protected]> wrote:
> On Wed, May 30, 2012 at 6:33 PM, Neil Toronto <[email protected]> wrote:
>> Also, what's the best way to document a type, when the type's definition is
>> important? I'd like something like this:
>>
>> Flomap-Transform = (Integer Integer -> invertible-2d-mapping)
>>
>> instead of having to write "This type is defined as..." in the description
>> text.
>
> There's not currently a nice way of defining constants in Scribble
> that I know of.
I normally use
@defthing[id contract]{Equivalent to @racket[definition]}
Jay
--
Jay McCarthy <[email protected]>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
____________________
Racket Users list:
http://lists.racket-lang.org/users