diff options
author | Eduardo Julian | 2019-06-20 22:32:59 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-06-20 22:32:59 -0400 |
commit | b71b861008381626633bf28b033cd866d7e4e0b7 (patch) | |
tree | 3ee21cd21e6dd80f6fcdf90173bbd6162b616d8f /stdlib/source/spec/compositor/generation/structure.lux | |
parent | fcee38da766a683ed5569978be153c6e7a8ae0af (diff) |
Improved the convention for using text formatters.
Diffstat (limited to 'stdlib/source/spec/compositor/generation/structure.lux')
-rw-r--r-- | stdlib/source/spec/compositor/generation/structure.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/spec/compositor/generation/structure.lux b/stdlib/source/spec/compositor/generation/structure.lux index 99745a819..d22775a43 100644 --- a/stdlib/source/spec/compositor/generation/structure.lux +++ b/stdlib/source/spec/compositor/generation/structure.lux @@ -9,7 +9,7 @@ ["." error] ["." maybe] ["." text ("#@." equivalence) - format] + ["%" format (#+ format)]] [collection ["." array (#+ Array)] ["." list ("#@." functor)]]] @@ -32,7 +32,7 @@ tag-in (|> r.nat (:: @ map (n/% num-tags))) #let [last?-in (|> num-tags dec (n/= tag-in))] value-in r.i64] - (_.test (%name (name-of synthesis.variant)) + (_.test (%.name (name-of synthesis.variant)) (|> (synthesis.variant {#analysis.lefts (if last?-in (dec tag-in) tag-in) @@ -65,7 +65,7 @@ (do r.monad [size (|> r.nat (:: @ map (|>> (n/% 10) (n/max 2)))) tuple-in (r.list size r.i64)] - (_.test (%name (name-of synthesis.tuple)) + (_.test (%.name (name-of synthesis.tuple)) (|> (synthesis.tuple (list@map (|>> synthesis.i64) tuple-in)) (run "tuple") (case> (#error.Success tuple-out) |