Skip to content

Commit

Permalink
bump espial version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschoning committed Apr 17, 2022
1 parent 750fe0e commit 2986230
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
__v0.0.12__
update to ghc9

__v0.0.11__
add api key auth.
add CreateApiKey/DeleteApiKey commands to executable 'migration'
Expand Down
4 changes: 2 additions & 2 deletions espial.cabal
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.7.
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name: espial
version: 0.0.11
version: 0.0.12
synopsis: Espial is an open-source, web-based bookmarking server.
description: .
Espial is an open-source, web-based bookmarking server.
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: espial
synopsis: Espial is an open-source, web-based bookmarking server.
version: "0.0.11"
version: "0.0.12"
description: ! '
Espial is an open-source, web-based bookmarking server.
Expand Down
3 changes: 2 additions & 1 deletion src/Generic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ module Generic where

import GHC.Generics
import ClassyPrelude.Yesod
import Data.Kind (Type)

constrName :: (HasConstructor (Rep a), Generic a)=> a -> String
constrName = genericConstrName . from

class HasConstructor (f :: * -> *) where
class HasConstructor (f :: Type -> Type) where
genericConstrName :: f x -> String

instance HasConstructor f => HasConstructor (D1 c f) where
Expand Down

0 comments on commit 2986230

Please sign in to comment.