From 9f9a66add6ecb95fe6401616305c51975a5aec06 Mon Sep 17 00:00:00 2001 From: Mostafa Touny <56471405+mostafatouny@users.noreply.github.com> Date: Sun, 15 Dec 2024 10:39:45 +0200 Subject: [PATCH] update depreciated tup2 to t2 in the tutorial line `(T.unit ->* T.(tup2 int string))` is updated to `(T.unit ->* T.(t2 int string))` --- example/h-sql/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/h-sql/README.md b/example/h-sql/README.md index aab16638..bbebe581 100644 --- a/example/h-sql/README.md +++ b/example/h-sql/README.md @@ -14,7 +14,7 @@ module T = Caqti_type let list_comments = let query = let open Caqti_request.Infix in - (T.unit ->* T.(tup2 int string)) + (T.unit ->* T.(t2 int string)) "SELECT id, text FROM comment" in fun (module Db : DB) -> let%lwt comments_or_error = Db.collect_list query () in