diff options
Diffstat (limited to 'stdlib/source/lux/data/env.lux')
-rw-r--r-- | stdlib/source/lux/data/env.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/env.lux b/stdlib/source/lux/data/env.lux index 880bfa621..68d0affc0 100644 --- a/stdlib/source/lux/data/env.lux +++ b/stdlib/source/lux/data/env.lux @@ -7,11 +7,11 @@ {#env e #value a}) -(struct: #export Functor<Env> (All [e] (F.Functor (Env e))) +(structure: #export Functor<Env> (All [e] (F.Functor (Env e))) (def: (map f fa) (update@ #value f fa))) -(struct: #export CoMonad<Env> (All [e] (CoMonad (Env e))) +(structure: #export CoMonad<Env> (All [e] (CoMonad (Env e))) (def: functor Functor<Env>) (def: unwrap (get@ #value)) |