Closed NoahStoryM closed 2 years ago
Hi @soegaard, currently I have no other changes planned for this PR (if I think of other changes later, I will open a new PR). Please review it.
Great work.
Don't forget to add yourself to the list of contributors.
Sorry for not reviewing this earlier, but this PR breaks the documentation. I will fix it, but please make sure that you test it next time.
Oh sorry, I'm not very familiar with scribble, I just checked the web documentation and ignored the messages. I'll pay more attentions next time!
This PR mainly makes the following changes:
amb
(add 2 shortcuts).1+
1-
-1+
,null
,compose
.typed/sicp-pict
(warning: the return type ofpaint
isImage-Snip%
, which is not supported by TR. https://github.com/racket/typed-racket/pull/1236 update: the current TR already supportsImage-Snip%
.)blank
, which is the identity element ofsuperpose
.paint
(similar tomake-bitmap
).above
function.*->painter
andnew-*
functions.superpose
can accept any number of arguments, not just two.transform-painter
should accept a painter argument.width
andheight
should be ofexact-positive-integer?
instead of(and/c positive? integer?)
.COLORS, PENS, and BRUSHES
andSyntactic Sugar
sections.