bump espial version

This commit is contained in:
Jon Schoning 2022-04-17 11:51:31 -05:00
parent 750fe0ee52
commit 2986230bd5
No known key found for this signature in database
GPG key ID: F356416A06AC0A60
4 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,6 @@
__v0.0.12__
update to ghc9
__v0.0.11__
add api key auth.
add CreateApiKey/DeleteApiKey commands to executable 'migration'

View file

@ -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.

View file

@ -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.

View file

@ -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