Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ProtoStructs

Build Status Codecov

You are developing a new datastructure and are tired of restarting everytime you change your mind? ProtoStructs lets you have structs which behave like they would have been redifined.

Here is how you do

Like:

using ProtoStructs

@proto struct DevType
    a::Int = 1
    b::Float64 = 2.0
    c
end
a = DevType(a=1, b=2.0, c="3")
b = DevType(c=:boo)
c = DevType(2, 4.0, nothing)

Redefine at will, but please remove the @proto macro after developing.


There is also Redef

About

Easy prototyping of structs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages