tibbe/cassava — pull request #31 by Shimuuar (2013-01-02 14:07:32+00:00)
Title: Add FromField instance for ()

It's useful in cases when one wants to ignore column's value. Quoting from documentation:

```
-- In order to ignore column you can use unit type '()'. It always
-- successfully decode. Note that it lacks corresponding 'ToField'
-- instance. It serves as placeholder to indicate that there's
-- something in the column you don't care what.
--
-- > case decode False "foo,1\r\nbar,22" of
-- > Left err -> putStrLn err
-- > Right v -> forM_ v $ \ ((), i) -> print (i :: Int)
```