gcanti/tcomb — pull request #64 by grncdr (2014-11-02 12:00:53+00:00)
Title: Make `Struct.extend` variadic

This is a convenience for chaining `extend` calls, which is a pattern I noticed myself repeating when sharing subsets of common properties across multiple struct definitions.

Consider this toy example:

```javascript
var Publishable = { /* properties relating to the published state of a thing */ }
var Editable = { /* properties referring to the editing state of a thing */ }

var User = struct({ /* User specific properties */ }).extend(Editable, 'User');
var Document = struct({ /* Document specific properties */ }).extend(Editable, Publishable, 'Document');
```

What do you think?