1cabal-version: 1.12 2name: assoc 3version: 1.0.2 4x-revision: 1 5license: BSD3 6license-file: LICENSE 7synopsis: swap and assoc: Symmetric and Semigroupy Bifunctors 8category: Data 9description: 10 Provides generalisations of 11 @swap :: (a,b) -> (b,a)@ and 12 @assoc :: ((a,b),c) -> (a,(b,c))@ 13 to 14 @Bifunctor@s supporting similar operations (e.g. @Either@, @These@). 15 16author: Oleg Grenrus <oleg.grenrus@iki.fi> 17maintainer: Oleg Grenrus <oleg.grenrus@iki.fi> 18build-type: Simple 19extra-source-files: CHANGELOG.md 20tested-with: 21 GHC ==7.0.4 22 || ==7.2.2 23 || ==7.4.2 24 || ==7.6.3 25 || ==7.8.4 26 || ==7.10.3 27 || ==8.0.2 28 || ==8.2.2 29 || ==8.4.4 30 || ==8.6.5 31 || ==8.8.4 32 || ==8.10.3 33 , GHCJS ==8.4 34 35source-repository head 36 type: git 37 location: https://github.com/phadej/assoc.git 38 39library 40 default-language: Haskell2010 41 hs-source-dirs: src 42 build-depends: 43 base >=4.3 && <4.16 44 , bifunctors >=5.5.5 && <5.6 45 , tagged >=0.8.6 && <0.9 46 47 exposed-modules: 48 Data.Bifunctor.Assoc 49 Data.Bifunctor.Swap 50 51 other-extensions: TypeFamilies 52