Skip to content

Commit fbc9978

Browse files
Cleaning up some minor things.
1 parent 5444cfe commit fbc9978

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Provides type-classes for interacting with monomorphic containers in the followi
1111
* traversing with a key
1212
* zipping with a key
1313

14-
This package is the extension of two other popular libraries, [`mono-traversable`](http://hackage.haskell.org/package/mono-traversable) and [`keys`](http://hackage.haskell.org/package/keys), designed to provided the functionality of the `keys` package to the monomorphic containers enhanced by the `mono-trversable` package.
14+
This package is the extension of two other popular libraries, [`mono-traversable`](http://hackage.haskell.org/package/mono-traversable) and [`keys`](http://hackage.haskell.org/package/keys), designed to provided the functionality of the `keys` package to the monomorphic containers enhanced by the `mono-traversable` package.

mono-traversable-keys.cabal

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cabal-version: 1.12
22

33
name: mono-traversable-keys
44
version: 0.1.0
5-
synopsis: Type classes for interacting with monomorphic containers with a key
5+
synopsis: Type-classes for interacting with monomorphic containers with a key
66
category: Containers, Data, Data Structures
77
build-type: Simple
88
license: BSD3
@@ -58,10 +58,8 @@ library
5858

5959
ghc-options:
6060
-- Optimization flags
61-
-O2
6261
-fexpose-all-unfoldings
6362
-fspecialise-aggressively
64-
-j
6563
-- Sanity check warnings
6664
-Wall
6765
-fwarn-dodgy-foreign-imports

src/Data/MonoTraversable/Keys.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ type instance MonoKey (ZipList a) = Int
168168

169169
-- |
170170
-- Monomorphic containers that can be mapped over.
171-
class MonoKeyed mono where
171+
class MonoFunctor mono => MonoKeyed mono where
172172

173173
-- |
174174
-- Map over a monomorphic container

0 commit comments

Comments
 (0)