Skip to content

Commit

Permalink
Explicit kind signature on Key phantom type
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Dec 27, 2011
1 parent a5bf39c commit b1fbe35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion persistent/Database/Persist/Base.hs
Expand Up @@ -374,7 +374,7 @@ instance PersistField SomePersistField where
fromPersistValue x = fmap SomePersistField (fromPersistValue x :: Either String String)
sqlType (SomePersistField a) = sqlType a

newtype Key backend entity = Key { unKey :: PersistValue }
newtype Key (backend :: (* -> *) -> * -> *) entity = Key { unKey :: PersistValue }
deriving (Show, Read, Eq, Ord, PersistField)

class (Trans.MonadIO (b m), Trans.MonadIO m, Monad (b m), Monad m) => PersistBackend b m where
Expand Down
2 changes: 1 addition & 1 deletion persistent/persistent.cabal
@@ -1,5 +1,5 @@
name: persistent
version: 0.6.4.3
version: 0.6.4.4
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
Expand Down

0 comments on commit b1fbe35

Please sign in to comment.