diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/concurrency/task.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/concurrency/task.lux b/stdlib/source/lux/concurrency/task.lux index 911fdd2d2..d51574bbc 100644 --- a/stdlib/source/lux/concurrency/task.lux +++ b/stdlib/source/lux/concurrency/task.lux @@ -30,7 +30,7 @@ (All [a] (-> (Task a) (Task (E.Error a)))) (:: P.Functor<Promise> map (|>> #E.Success) computation)) -(struct: #export _ (F.Functor Task) +(structure: #export _ (F.Functor Task) (def: (map f fa) (:: P.Functor<Promise> map (function (_ fa') @@ -42,7 +42,7 @@ (#E.Success (f a)))) fa))) -(struct: #export _ (A.Apply Task) +(structure: #export _ (A.Apply Task) (def: functor Functor<Task>) (def: (apply ff fa) @@ -54,7 +54,7 @@ a fa'] (wrap (f a))))))) -(struct: #export _ (Monad Task) +(structure: #export _ (Monad Task) (def: functor Functor<Task>) (def: wrap return) |