Skip to content

Commit

Permalink
Fixed error preventing Haddock documentation from showing up for 'par…
Browse files Browse the repository at this point in the history
…am_'.
  • Loading branch information
duairc committed Oct 11, 2013
1 parent e8b4535 commit 00e484d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions implicit-params.cabal
@@ -1,5 +1,5 @@
name: implicit-params
version: 0.2
version: 0.2.0.1
synopsis: Named and unnamed implicit parameters with defaults.
license: BSD3
license-file: LICENSE
Expand All @@ -9,8 +9,8 @@ stability: Experimental
category: Data
cabal-version: >= 1.6
build-type: Simple
homepage: http://github.com/duairc/implicit
bug-reports: http://github.com/duairc/implicit/issues
homepage: http://github.com/duairc/implicit-params
bug-reports: http://github.com/duairc/implicit-params/issues
description:
Named and unnamed implicit parameters with defaults using type classes and
constraint hacks. For examples, see "Data.Implicit".
Expand All @@ -35,4 +35,4 @@ library

source-repository head
type: git
location: http://github.com/duairc/implicit
location: http://github.com/duairc/implicit-params
4 changes: 2 additions & 2 deletions src/Data/Implicit.hs
Expand Up @@ -172,13 +172,13 @@ infixl 0 $$
-- | The constraint @'Implicit_' String@ on a function @f@ indicates that an
-- unnamed implicit parameter of type @String@ is passed to @f@.
class Implicit_ a where
-- | 'param_' retrieves the unnamed implicit parameter of type @a@ from
-- the context @'Implicit_' a@.
param_ :: a


------------------------------------------------------------------------------
instance Default a => Implicit_ a where
-- | 'param_' retrieves the unnamed implicit parameter of type @a@ from
-- the context @'Implicit_' a@.
param_ = def


Expand Down

0 comments on commit 00e484d

Please sign in to comment.