diff options
author | Eduardo Julian | 2018-07-10 00:24:01 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-10 00:24:01 -0400 |
commit | eb201f6e669f802650fdf06ea1acb1ef5682297b (patch) | |
tree | f8d1fd7dc4b10d46ac0d3ee5ca018f0907060ad0 /stdlib/source/lux/concurrency/task.lux | |
parent | 474c270f548298fc6404e9c53f038b94eba7e997 (diff) |
- Re-named "struct:" to "structure:".
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) |