bump espial version
This commit is contained in:
parent
9e2b767d8d
commit
c1c2aea2da
|
@ -1,3 +1,6 @@
|
||||||
|
__v0.0.12__
|
||||||
|
update to ghc9
|
||||||
|
|
||||||
__v0.0.11__
|
__v0.0.11__
|
||||||
add api key auth.
|
add api key auth.
|
||||||
add CreateApiKey/DeleteApiKey commands to executable 'migration'
|
add CreateApiKey/DeleteApiKey commands to executable 'migration'
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
cabal-version: 1.12
|
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
|
-- see: https://github.com/sol/hpack
|
||||||
|
|
||||||
name: espial
|
name: espial
|
||||||
version: 0.0.11
|
version: 0.0.12
|
||||||
synopsis: Espial is an open-source, web-based bookmarking server.
|
synopsis: Espial is an open-source, web-based bookmarking server.
|
||||||
description: .
|
description: .
|
||||||
Espial is an open-source, web-based bookmarking server.
|
Espial is an open-source, web-based bookmarking server.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: espial
|
name: espial
|
||||||
synopsis: Espial is an open-source, web-based bookmarking server.
|
synopsis: Espial is an open-source, web-based bookmarking server.
|
||||||
version: "0.0.11"
|
version: "0.0.12"
|
||||||
description: ! '
|
description: ! '
|
||||||
|
|
||||||
Espial is an open-source, web-based bookmarking server.
|
Espial is an open-source, web-based bookmarking server.
|
||||||
|
|
|
@ -2,11 +2,12 @@ module Generic where
|
||||||
|
|
||||||
import GHC.Generics
|
import GHC.Generics
|
||||||
import ClassyPrelude.Yesod
|
import ClassyPrelude.Yesod
|
||||||
|
import Data.Kind (Type)
|
||||||
|
|
||||||
constrName :: (HasConstructor (Rep a), Generic a)=> a -> String
|
constrName :: (HasConstructor (Rep a), Generic a)=> a -> String
|
||||||
constrName = genericConstrName . from
|
constrName = genericConstrName . from
|
||||||
|
|
||||||
class HasConstructor (f :: * -> *) where
|
class HasConstructor (f :: Type -> Type) where
|
||||||
genericConstrName :: f x -> String
|
genericConstrName :: f x -> String
|
||||||
|
|
||||||
instance HasConstructor f => HasConstructor (D1 c f) where
|
instance HasConstructor f => HasConstructor (D1 c f) where
|
||||||
|
|
Loading…
Reference in a new issue