Documentation

Init.Data.Range.Polymorphic.Iterators

@[inline]

Internal function that constructs an iterator for a closed range lo...=hi. This is an internal function. Use Rcc.iter instead, which requires importing Std.Data.Iterators.

Equations
    Instances For
      @[inline]

      Returns the elements of the given closed range as a list in ascending order.

      Equations
        Instances For
          @[inline]

          Returns the elements of the given closed range as an array in ascending order.

          Equations
            Instances For
              @[inline]
              def Std.Rcc.size {α : Type u} [Rxc.HasSize α] (r : Rcc α) :

              Returns the number of elements contained in the given closed range.

              Equations
                Instances For
                  @[inline]

                  Internal function that constructs an iterator for a closed range lo...hi. This is an internal function. Use Rco.iter instead, which requires importing Std.Data.Iterators.

                  Equations
                    Instances For
                      @[inline]

                      Returns the elements of the given left-closed right-open range as a list in ascending order.

                      Equations
                        Instances For
                          @[inline]

                          Returns the elements of the given left-closed right-open range as an array in ascending order.

                          Equations
                            Instances For
                              @[inline]
                              def Std.Rco.size {α : Type u} [Rxo.HasSize α] (r : Rco α) :

                              Returns the number of elements contained in the given left-closed right-open range.

                              Equations
                                Instances For
                                  @[inline]

                                  Internal function that constructs an iterator for a closed range lo...*. This is an internal function. Use Rcc.iter instead, which requires importing Std.Data.Iterators.

                                  Equations
                                    Instances For
                                      @[inline]

                                      Returns the elements of the given left-closed right-unbounded range as a list in ascending order.

                                      Equations
                                        Instances For
                                          @[inline]

                                          Returns the elements of the given left-closed right-unbounded range as an array in ascending order.

                                          Equations
                                            Instances For
                                              @[inline]
                                              def Std.Rci.size {α : Type u} [Rxi.HasSize α] (r : Rci α) :

                                              Returns the number of elements contained in the given left-closed right-unbounded range.

                                              Equations
                                                Instances For
                                                  @[inline]

                                                  Internal function that constructs an iterator for a left-open right-closed range lo<...=hi. This is an internal function. Use Roc.iter instead, which requires importing Std.Data.Iterators.

                                                  Equations
                                                    Instances For
                                                      @[inline]

                                                      Returns the elements of the given left-open right-closed range as a list in ascending order.

                                                      Equations
                                                        Instances For
                                                          @[inline]

                                                          Returns the elements of the given left-open right-closed range as an array in ascending order.

                                                          Equations
                                                            Instances For
                                                              @[inline]
                                                              def Std.Roc.size {α : Type u} [Rxc.HasSize α] [PRange.UpwardEnumerable α] (r : Roc α) :

                                                              Returns the number of elements contained in the given left-open right-closed range.

                                                              Equations
                                                                Instances For
                                                                  @[inline]

                                                                  Internal function that constructs an iterator for an open range lo<...hi. This is an internal function. Use Roo.iter instead, which requires importing Std.Data.Iterators.

                                                                  Equations
                                                                    Instances For
                                                                      @[inline]

                                                                      Returns the elements of the given open range as a list in ascending order.

                                                                      Equations
                                                                        Instances For
                                                                          @[inline]

                                                                          Returns the elements of the given open range as an array in ascending order.

                                                                          Equations
                                                                            Instances For
                                                                              @[inline]
                                                                              def Std.Roo.size {α : Type u} [Rxo.HasSize α] [PRange.UpwardEnumerable α] (r : Roo α) :

                                                                              Returns the number of elements contained in the given open range.

                                                                              Equations
                                                                                Instances For
                                                                                  @[inline]

                                                                                  Internal function that constructs an iterator for a closed range lo<...*. This is an internal function. Use Roi.iter instead, which requires importing Std.Data.Iterators.

                                                                                  Equations
                                                                                    Instances For
                                                                                      @[inline]

                                                                                      Returns the elements of the given left-open right-unbounded range as a list in ascending order.

                                                                                      Equations
                                                                                        Instances For
                                                                                          @[inline]

                                                                                          Returns the elements of the given left-open right-unbounded range as an array in ascending order.

                                                                                          Equations
                                                                                            Instances For
                                                                                              @[inline]
                                                                                              def Std.Roi.size {α : Type u} [Rxi.HasSize α] [PRange.UpwardEnumerable α] (r : Roi α) :

                                                                                              Returns the number of elements contained in the given left-open right-unbounded range.

                                                                                              Equations
                                                                                                Instances For
                                                                                                  @[inline]
                                                                                                  def Std.Ric.Internal.iter {α : Type u} [PRange.Least? α] (r : Ric α) :
                                                                                                  Iter α

                                                                                                  Internal function that constructs an iterator for a left-unbounded right-closed range *...=hi. This is an internal function. Use Ric.iter instead, which requires importing Std.Data.Iterators.

                                                                                                  Equations
                                                                                                    Instances For
                                                                                                      @[inline]

                                                                                                      Returns the elements of the given closed range as a list in ascending order.

                                                                                                      Equations
                                                                                                        Instances For
                                                                                                          @[inline]

                                                                                                          Returns the elements of the given closed range as an array in ascending order.

                                                                                                          Equations
                                                                                                            Instances For
                                                                                                              @[inline]
                                                                                                              def Std.Ric.size {α : Type u} [Rxc.HasSize α] [PRange.Least? α] (r : Ric α) :

                                                                                                              Returns the number of elements contained in the given closed range.

                                                                                                              Equations
                                                                                                                Instances For
                                                                                                                  @[inline]

                                                                                                                  Internal function that constructs an iterator for a left-unbounded right-open range *...hi. This is an internal function. Use Rio.iter instead, which requires importing Std.Data.Iterators.

                                                                                                                  Equations
                                                                                                                    Instances For
                                                                                                                      @[inline]

                                                                                                                      Returns the elements of the given closed range as a list in ascending order.

                                                                                                                      Equations
                                                                                                                        Instances For
                                                                                                                          @[inline]

                                                                                                                          Returns the elements of the given closed range as an array in ascending order.

                                                                                                                          Equations
                                                                                                                            Instances For
                                                                                                                              @[inline]
                                                                                                                              def Std.Rio.size {α : Type u} [Rxo.HasSize α] [PRange.Least? α] (r : Rio α) :

                                                                                                                              Returns the number of elements contained in the given closed range.

                                                                                                                              Equations
                                                                                                                                Instances For
                                                                                                                                  @[inline]

                                                                                                                                  Internal function that constructs an iterator for the full range *...*. This is an internal function. Use Rio.iter instead, which requires importing Std.Data.Iterators.

                                                                                                                                  Equations
                                                                                                                                    Instances For
                                                                                                                                      @[inline]

                                                                                                                                      Returns the elements of the given full range as a list in ascending order.

                                                                                                                                      Equations
                                                                                                                                        Instances For
                                                                                                                                          @[inline]

                                                                                                                                          Returns the elements of the given full range as an array in ascending order.

                                                                                                                                          Equations
                                                                                                                                            Instances For
                                                                                                                                              @[inline]
                                                                                                                                              def Std.Rii.size {α : Type u} :
                                                                                                                                              Rii α[PRange.Least? α] → [Rxi.HasSize α] → Nat

                                                                                                                                              Returns the number of elements contained in the full range.

                                                                                                                                              Equations
                                                                                                                                                Instances For