maxpow4h/swiftz — pull request #22 by maxpow4h (2014-06-08 09:04:37+00:00)
Title: Functorx2

The only idea I have came up with, is we can manually box things into a Maybe Functor struct. (structs supposedly offer "newtype" level no-overhead).

Instead of:
```
let y: Maybe = x.fmap({ $0 * 2 })
```
we
```
let y: Maybe = MaybeF(m: x).fmap({ $0 * 2 })
```

We get some type inference back, but it may not be a overall "better" experience.

@joshaber