1diff -ru orig/Setup.lhs new/Setup.lhs
2--- orig/Setup.lhs 2013-10-10 10:21:21.877692795 +0300
3+++ new/Setup.lhs 2013-10-10 10:21:21.000000000 +0300
7 {- OPTIONS_GHC -Wall #-}
8+{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances #-}
10 import Control.Monad (liftM2, mplus)
11 import Data.List (isPrefixOf)
16+-- 'ConstOrId' is a Cabal compatibility hack.
17+-- see: https://github.com/scrive/hdbc-postgresql/commit/e9b2fbab07b8f55ae6a9e120ab0b98c433842a8b
18+class ConstOrId a b where
21+instance ConstOrId a a where
24+instance ConstOrId a (b -> a) where
27 mysqlConfigProgram = (simpleProgram "mysql_config") {
28- programFindLocation = \verbosity -> liftM2 mplus
29+ programFindLocation = \verbosity -> constOrId $ liftM2 mplus
30 (findProgramLocation verbosity "mysql_config")
31 (findProgramLocation verbosity "mysql_config5")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list