Dmitrii Kovanikov

Results 393 issues of Dmitrii Kovanikov

Usually when I have custom data type like this one: ```haskell data Foo = Foo { fooBar :: Int , fooBaz :: Double } ``` I write `FromJSON` instance like...

I want to add full data type name to every field of my data type. Like this: ```haskell data ProjectManager = ProjectManager { projectManagerName :: Text , projectManagerSalary :: Natural...

I'm using [gshow](https://hackage.haskell.org/package/syb-0.7.2.1/docs/Data-Generics-Text.html#v:gshow) from `syb` to display a data structure that has `Data` instance but not `Show` instance (specifically, for [GHC types](https://gitlab.haskell.org/ghc/ghc/-/blob/19d2143a6d41951f2cec8a5d7033584d99161359/compiler/GHC/Tc/Types.hs#L537)). However, it looks like some of the fields...

enhancement
pr-welcome

I'm trying to implement custom authorization schemes. Looks like `servant-auth` doesn't support this feature at the moment (though, this probably will be implemented during GSoC 2019): * https://github.com/haskell-servant/servant-auth/issues/119 So I'm...

question

Recently added (in #26) `executeMany_` function allows to perform multiple statements, which is great! Unfortunately, it fails when I'm trying to use this function to create procedure in MySQL. I...

The type of `executeMany` function is the following: ```haskell executeMany :: QueryParam p => MySQLConn -> Query -> [[p]] -> IO [OK] ``` But when I'm trying to pass an...

Currently in order to use arguments with SQL queries I'm using question marks `?`. I wonder, how difficult it would to add support for named parameters to be able to...

I propose to introduce the following typeclass: ```haskell class As s a where as :: a -> s match :: s -> Maybe a ``` It represents the ability to...

enhancement
question

Currently we store only the last position of source code in error: ```haskell data ErrorWithSource err = ErrorWithSource { errorWithSourceCallStack :: !SourcePosition , errorWithSourceType :: !err } deriving stock (Show,...

enhancement
question

Sometimes we want to reuse the same effect implementation but for different environment settings. Examples: 1. Different JWT tokens for different applications. 2. Different DB settings for different databases. 3....

help wanted
question