-
Notifications
You must be signed in to change notification settings - Fork 6
Unit #103
Copy link
Copy link
Open
Description
Sum and Product types usually have a type Void/Zero and Unit.
Void stands for the type with no values. Unit stands for the type with one value.
In peak, Unit would be useful for specifying instructions without any arguments. For example,
class NOP(Unit):
pass
Or, is there another way to do this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels