Open suhr opened 4 years ago
By the way, there's no type for natural numbers in https://github.com/astampoulis/makam/blob/master/examples/lib/builtins.makam. Does Makam have it?
Thanks for the suggestion, @suhr. That would indeed be useful to have.
There is no builtin type for natural numbers in Makam. You can define natural numbers inductively, or re-use integers (potentially with predicates that limit their use to natural numbers), depending on your use case.
Something like this: https://lamport.azurewebsites.net/tla/summary-standalone.pdf (not necessary in pdf).