rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/sml

5 lines
206 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
datatype shape
= Circle of loc * real (* center and radius *)
| Square of loc * real (* upper-left corner and side length; axis-aligned *)
| Triangle of loc * loc * loc (* corners *)