choice 0.2.0 → 0.2.1
raw patch · 2 files changed
+5/−2 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- choice.cabal +1/−1
- src/Data/Choice.hs +4/−1
choice.cabal view
@@ -1,5 +1,5 @@ name: choice-version: 0.2.0+version: 0.2.1 synopsis: A solution to boolean blindness. description: Please see README.md. homepage: https://github.com/mboes/choice#readme
src/Data/Choice.hs view
@@ -77,7 +77,10 @@ -- | A synonym for 'Data.Proxy.Proxy'. data Label (a :: Symbol) = Label deriving (Eq, Ord, Show) -#if MIN_VERSION_base(4,9,0)+#if MIN_VERSION_base(4,10,0)+instance x ~ x' => IsLabel x (Label x') where+ fromLabel = Label+#elif MIN_VERSION_base(4,9,0) instance x ~ x' => IsLabel x (Label x') where fromLabel _ = Label #endif