functional :: InitArrayFn :: defaultinit
functional :: InitArrayFn :: initial_val
functional $ InitArrayFn :: SELF
Type of this instance, automatically specialized in every classfunctional $ InitArrayFn :: call
functional :: Fun0 :: call
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
functional :: Routine :: defaultinit
functional :: Fun :: defaultinit
functional :: Fun0 :: defaultinit
functional :: InitArrayFn :: defaultinit
core :: Object :: defaultinit
functional :: InitArrayFn :: initial_val
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).functional :: Fun
functional :: Fun0
class InitArrayFn[E]
super Fun0[Array[E]]
var initial_val: nullable E
redef fun call
do
var xs = new Array[E]
if initial_val != null then
xs.push(initial_val)
end
return xs
end
end
lib/functional/test_utils.nit:41,1--54,3