Documentation

Init.Data.Range.Polymorphic.Iterators

Iterators for right-closed ranges implementing Rxc.HasSize support Iter.size.

Equations
  • One or more equations did not get rendered due to their size.

Iterators for ranges implementing Rxo.HasSize support Iter.size.

Equations
  • One or more equations did not get rendered due to their size.

Iterators for ranges implementing Rxi.HasSize support Iter.size.

Equations
  • One or more equations did not get rendered due to their size.
@[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 α] [PRange.UpwardEnumerable α] [LE α] [DecidableLE α] (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 α] [PRange.UpwardEnumerable α] [LT α] [DecidableLT α] (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 α] [PRange.UpwardEnumerable α] (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 α] [LE α] [DecidableLE α] (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 α] [LT α] [DecidableLT α] (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.UpwardEnumerable α] [PRange.Least? α] [LE α] [DecidableLE α] (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.UpwardEnumerable α] [PRange.Least? α] [LT α] [DecidableLT α] (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]

                                                                        Returns the number of elements contained in the full range.

                                                                        Equations
                                                                        Instances For