From 889139602b77e4387a6e8bfbedacc2a08703e976 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 27 Nov 2020 00:07:51 -0400 Subject: Re-named lux/data/format/context to lux/control/parser/environment. --- stdlib/source/spec/lux/world/shell.lux | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'stdlib/source/spec') diff --git a/stdlib/source/spec/lux/world/shell.lux b/stdlib/source/spec/lux/world/shell.lux index 69c1cc8ab..c10f77c12 100644 --- a/stdlib/source/spec/lux/world/shell.lux +++ b/stdlib/source/spec/lux/world/shell.lux @@ -8,25 +8,27 @@ [security ["!" capability]] [concurrency - ["." promise (#+ Promise)]]] + ["." promise (#+ Promise)]] + [parser + ["." environment]]] [data ["." product] ["." text ("#\." equivalence) ["%" format (#+ format)]] [number ["n" nat] - ["i" int]] - [format - ["." context]]] + ["i" int]]] [math ["." random]]] {1 - ["." /]}) + ["." / + [// + [environment (#+ Environment)]]]}) (template [ ] [(def: - (-> [/.Environment /.Command (List /.Argument)]) - (|>> list [context.empty ]))] + (-> [Environment /.Command (List /.Argument)]) + (|>> list [environment.empty ]))] [echo! "echo" Text (|>)] [sleep! "sleep" Nat %.nat] @@ -73,8 +75,7 @@ (#try.Failure error) true))))) -(with-expansions [ (as-is [/.Can-Execute - /.Environment /.Command /.Argument])] +(with-expansions [ (as-is [/.Can-Execute /.Command /.Argument])] (def: #export (spec shell) (-> (/.Shell Promise) Test) (<| (_.with-cover [/.Shell /.Process]) -- cgit v1.2.3