Eitan Chatav

Results 18 issues of Eitan Chatav

Consider the function, > let f [m,b] = (6020.272727*m+b-23680.30303)^(2::Int) + (7254.196429*m+b-28807.61607)^(2::Int) + (6738.575342*m+b-26582.76712)^(2::Int) + (5464.658537*m+b-23894.34756)^(2::Int) It's a smooth convex function and gradient descent should converge to `[m,b] = [2.911525576,7196.512447]`. See...

Add functions to append and split n-ary products.

I think result builder syntax for printer-parsers should roughly correspond with combinators `branch` and `factor` with signatures like: ``` func factor (A -> (A0, A1), (A0, A1) -> A) (Parser)...

Positionally decode rows into products, either records or tuples. Resolves #330

There should be row decoders for common cases of tuples. How far up should it go? Maybe only up to `quadrupleRow`? ``` pairRow :: (FromValue x0 ty0, FromValue x1 ty1)...

enhancement
help wanted

This is a minimized example of [this doctest issue](https://github.com/sol/doctest/issues/327). ```Haskell -- | `PGType` is the promoted datakind of PostgreSQL types. -- -- >>> :set -XDataKinds -- >>> :kind 'PGbool --...

Add a module `Squeal.PostgreSQL.Tutorial` with a full-fledged tutorial for Squeal.

enhancement

The question recently was asked at work: > Have you considered putting the select at the end instead of the beginning? C#’s LINQ ended up making that change in its...

question

Add notification support with [postgresql-libpq-notify](https://hackage.haskell.org/package/postgresql-libpq-notify).

enhancement
help wanted

Support needs to be added, probably in another library, to inspect Postgresql's [system catalogs](https://www.postgresql.org/docs/10/static/catalogs.html), using Squeal itself, in order to enable safe connection and migration support.

help wanted