devongovett/restructure — pull request #3 by timkurvers (2014-12-03 20:33:37+00:00)
Title: Add support for optional fields

```coffeescript
Record = new r.Struct(
name: new r.String()
flags: r.uint32
age: new r.Optional(r.uint8, -> @flags & 0x50)
friends: new r.Array(..)
)
```

Unsure about the amount of duplicated code, especially in the specs. Thoughts?