iter 23.1.1: examples/prelude.ail.json — Ordering ADT skeleton
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schema": "ailang/v0",
|
||||
"name": "prelude",
|
||||
"imports": [],
|
||||
"defs": [
|
||||
{
|
||||
"kind": "type",
|
||||
"name": "Ordering",
|
||||
"vars": [],
|
||||
"doc": "Result of a three-way comparison: LT (less than), EQ (equal), GT (greater than). Ships in milestone 23 as the codomain of Ord.compare.",
|
||||
"ctors": [
|
||||
{ "name": "LT", "fields": [] },
|
||||
{ "name": "EQ", "fields": [] },
|
||||
{ "name": "GT", "fields": [] }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user