NetworkVerification / nv

A Framework for Modeling and Analyzing Network Configurations
MIT License
31 stars 2 forks source link

Add variant types #58

Open DKLoehr opened 4 years ago

DKLoehr commented 4 years ago

It would be useful to be able to declare OCaml-style variant types in NV. Of course, they could not be recursive.

In fact, all the use cases I've seen have required only enum types (i.e. variant types with only constant constructors, no constructors which carry values). This would be a good place to start, since it's simpler and seems likely to get us most (or all) of what we want.