Documentation

Init.Data.Range.Polymorphic.Instances

This module provides instances that reduce the amount of code necessary to make a type compatible with the polymorphic ranges. For an example of the required work, take a look at Init.Data.Range.Polymorphic.Nat.

@[reducible, inline]

Creates a RangeSize .open α from a RangeSize .closed α instance. If the latter is lawful and certain other conditions hold, then the former is also lawful by LawfulRangeSize.open_of_closed.

Equations
Instances For