provide with-struct macro, fixes #54
Merge pull request #56 from hannesm/issue-54

provide with-struct macro, fixes #54