We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfa51bb + 7084497 commit cf8e27dCopy full SHA for cf8e27d
base/base.jl
@@ -117,6 +117,10 @@ type DimensionMismatch <: Exception
117
end
118
DimensionMismatch() = DimensionMismatch("")
119
120
+# For passing constants through type inference
121
+immutable Val{T}
122
+end
123
+
124
type WeakRef
125
value
126
WeakRef() = WeakRef(nothing)
base/exports.jl
@@ -113,6 +113,7 @@ export
113
UnitRange,
114
UTF16String,
115
UTF32String,
116
+ Val,
VecOrMat,
Vector,
VersionNumber,
0 commit comments