Make the types of the finite map type classes more specific.
This makes type checking more directed, and somewhat more predictable. On the downside, it makes it impossible to declare the singleton on lists as an instance of SingletonM and the insert and alter operations on functions as instances of Alter and Insert. However, these were not used often anyway.
Showing
- theories/base.v 23 additions, 33 deletionstheories/base.v
- theories/coPset.v 2 additions, 2 deletionstheories/coPset.v
- theories/fin_map_dom.v 3 additions, 4 deletionstheories/fin_map_dom.v
- theories/fin_maps.v 37 additions, 39 deletionstheories/fin_maps.v
- theories/functions.v 13 additions, 13 deletionstheories/functions.v
- theories/gmap.v 4 additions, 5 deletionstheories/gmap.v
- theories/list.v 12 additions, 12 deletionstheories/list.v
- theories/mapset.v 1 addition, 1 deletiontheories/mapset.v
- theories/natmap.v 4 additions, 4 deletionstheories/natmap.v
- theories/nmap.v 4 additions, 4 deletionstheories/nmap.v
- theories/option.v 4 additions, 4 deletionstheories/option.v
- theories/pmap.v 7 additions, 7 deletionstheories/pmap.v
- theories/zmap.v 4 additions, 4 deletionstheories/zmap.v
Loading
Please register or sign in to comment