Cool, simple macro to turn structs in agents
I wrote a simple macro that when used within a module with a struct generates a sub module that is an Agent for keeping a map of those structs. It saves me quite some time.
Feel free to use!
https://gist.github.com/roehst/1dd4ff9a2d75a7285b144ca9b7150748