brownplt / pyret-lang

The Pyret language.
Other
1.07k stars 111 forks source link

`provide-types` docs need better example #1671

Open shriram opened 1 year ago

shriram commented 1 year ago

There isn't an actually useful non-trivial example of provide-types here:

https://www.pyret.org/docs/latest/Provide_Statements.html

There's one for provide and there's provide-types *, but nothing else.

Also, I'm not sure this formatting makes sense:

image

That first provide should be just "provide".