feat: add map2, map3, andThen to Astrid.Query

This commit is contained in:
YetAnotherMinion 2022-01-07 20:00:05 +00:00 committed by nobody
commit b6182376b6
Signed by: GrocerPublishAgent
GPG key ID: D460CD54A9E3AB86
12 changed files with 1202 additions and 1018 deletions

View file

@ -1,6 +1,7 @@
module Astrid.Query
exposing
( Query
, andThen
, errorToString
, execute
, fetch
@ -93,3 +94,7 @@ map4 f a b c d =
map5 : (a -> b -> c -> d -> e -> value) -> Query a -> Query b -> Query c -> Query d -> Query e -> Query value
map5 f a b c d e =
Dummy
andThen : (a -> Query b) -> Query a -> Query b
andThen f a =
Dummy