Closed zenna closed 3 years ago
In
struct MyType x end x = lift(MyType)(uniform(0, 1)) g(x) = MyType(x) y = lift(g)(uniform(0, 1))
x has elemtype Any while y has elemtype MyType
x
Any
y
MyType
Fixed
In
x
has elemtypeAny
whiley
has elemtypeMyType