joneshf/purescript-events — pull request #1 by add20 (2014-12-31 09:04:45+00:00)
Title: Add some normal functions((a -> b -> c)) to Variadic instance

It can be written as `onClose2` instead of `onClose1`.
We can write function which not wrapped.

```purescript
onClose2 :: forall eff1 eff2
. (X -> (Eff eff1 Unit))
-> BrowserWindow
-> Eff (event :: EventEff | eff2) BrowserWindow
onClose2 = on (Event "close")
```

```purescript
onClose1 :: forall eff1 eff2
. (X -> (Eff eff1 Unit))
-> BrowserWindow
-> Eff (event :: EventEff | eff2) BrowserWindow
onClose1 = on (Event "close") <<< mkFn1
```