forked from kframework/k-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Sorts
mdmkolbe edited this page Sep 11, 2013
·
4 revisions
Most sorts in a K definition are defined by the user. However, K recognizes certain sorts as special. They are as follows.
Can any of these be extended by the user (e.g. using a "syntax" declaration)? (Other than to add a [function])
- K
- KResult
- KLabel: User may extend with labels (only?)
- KList: Not user extendable
- KItem: This is just K minus List{KItem}{"~>"}
- CellLabel: Not directly user addable. Effectively can only add constants. No variable.
- Bag: May alow user constructors (but shouldn't).
- BagItem: May alow user constructors (but shouldn't).
- Set
- SetItem
- Map
- MapItem
- List
- ListItem