feat: add map2, map3, andThen to Astrid.Query
This commit is contained in:
parent
3cf23637d5
commit
b6182376b6
12 changed files with 1202 additions and 1018 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue