Dropped Julia 1.0-1.4 support.
Added support for @smart_assert
from SmartAsserts.jl in type-body.
Added @consts
macro to define a block of constants.
Added support of packing immutables (by creating one) through @pack_SomeType
.
Added named tuple support.
Dropped Julia 0.5 support.
Docs now use Documenter.jl
Added @with_kw_noshow
to omit the Base.show
definition.
Dropping Julia 0.4 support
Updated packing and unpacking macro syntax according to PR
#13. Before
@pack!
was supported for immutable (via invoking reconstruct
), this
has been dropped.
Also, @unpack
performance on Julia-0.4 will be sub-par with this
change as it is type unstable.
This is a breaking change!
Now keyword constructor calls can be done without type-parameters. Fixes issue #10.
Added support for @assert
in type-body.
Added @deftype
to specify a default type annotation.
Dropped Docile support (on 0.3)
Allowing documenting types created with @with_kw
Added @pack!
and @unpack
macros:
type A
a
b
end
aa = A(3,4)
@unpack aa, b # does: b = aa.b