Rune K. Svendsen

Results 26 issues of Rune K. Svendsen

Hi there, Thanks for creating this library! I have a question about how to make the following `servant` example using `resource-pool` fail immediately when given an invalid connection string: https://haskell-servant.readthedocs.io/en/stable/cookbook/db-postgres-pool/PostgresPool.html...

I want to transform a JSON map into an array of `{"key": [key_value], "value": [value_at_key]}`. However, none of the existing transforms (e.g. flatten, fold, pivot) seem to support this, as...

feature-request

Depends on https://github.com/haskell/haskell-language-server/pull/2945

# Overview Oftentimes I will change code in the library component of a project, and then fix the test suite by following compiler errors. However, this doesn't work for me...

type: bug
component: hie-bios
status: blocked
build tool: stack

Hi there, I'm trying to install the newest version of `gi-graphene` (1.0.2) from Hackage. This results in the following error: ``` gi-graphene> configure gi-graphene> [1 of 2] Compiling Main (...

In the https://github.com/quchen/articles/blob/master/loeb-moeb.md article it is written: > The interesting part is that the order of the functions is not necessarily left-to-right. The list elements can be swapped around, as...

I have [a table](https://github.com/runeksvendsen/crypto-liquidity-db/blob/d5fb777cf14265b7ca0a284b7586a4431de3c019/src/Schema/PathQty.hs#L25-L32) whose Beam table definition contains an `Int64` field, which is a `BIGINT` in the Postgres database. The field in question is called `qty`: ``` orderbooks=> SELECT...

### Summary The following query ```haskell missingRunCurrencies = do runPk

I run into the following error when using `runInsertReturningList` with a Postgres database: ``` 'TIMESTAMP WITH TIME ZONE' or 'TIMESTAMP WITHOUT TIME ZONE' required for LocalTime ``` which is an...

When the type of `_pathQty` is `Int64` (or `Integer`), the following [query](https://github.com/runeksvendsen/beam-sum-fail/blob/0e110a347cd19ea63e302319197a45d778373057/app/Main.hs#L120-L128) fails at runtime with an exception, but works when the type is `Double`. ```haskell aggregate_ (\path -> (...

bug