We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816f4ed commit 3f31a12Copy full SHA for 3f31a12
src/SOneTo.jl
@@ -1,12 +1,11 @@
1
+const SOneToSupertype = isdefined(Base, :AbstractOneTo) ? Base.AbstractOneTo : AbstractUnitRange
2
+
3
"""
4
SOneTo(n)
5
6
Return a statically-sized `AbstractUnitRange` starting at `1`, functioning as the `axes` of
7
a `StaticArray`.
8
-SOneTo
-
9
-const SOneToSupertype = isdefined(Base, :AbstractOneTo) ? Base.AbstractOneTo : AbstractUnitRange
10
struct SOneTo{n} <: SOneToSupertype{Int}
11
end
12
0 commit comments