From 80e264e7c6269ac19a8088a82e48f75ce45f1112 Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Mon, 18 Dec 2023 09:10:39 -0600 Subject: [PATCH] fix: omit last type param on BuilderT --- src/Data.Postgres.Query.Builder.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data.Postgres.Query.Builder.purs b/src/Data.Postgres.Query.Builder.purs index afd5e54..c44d003 100644 --- a/src/Data.Postgres.Query.Builder.purs +++ b/src/Data.Postgres.Query.Builder.purs @@ -11,7 +11,7 @@ import Data.Tuple.Nested (type (/\)) import Database.PostgreSQL (class ToSQLValue, toSQLValue) import Foreign (Foreign) -type BuilderT m a = StateT { params :: Array Foreign, refs :: Set String } m a +type BuilderT m = StateT { params :: Array Foreign, refs :: Set String } m runBuilder :: forall m a. BuilderT m a -> m (a /\ { params :: Array Foreign, refs :: Set String }) runBuilder = flip runStateT { params: [], refs: Set.empty }