From 34e310622bdeb1d0588c0664c0e78cbaa84f837c Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 2 Dec 2020 06:42:20 -0400 Subject: Re-named "::" and ":::" macros to "\" and "\\", to be consistent with the convention that only macros that deal with types may start with a colon. --- stdlib/source/spec/compositor/common.lux | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'stdlib/source/spec/compositor/common.lux') diff --git a/stdlib/source/spec/compositor/common.lux b/stdlib/source/spec/compositor/common.lux index df351c008..ed3b53f30 100644 --- a/stdlib/source/spec/compositor/common.lux +++ b/stdlib/source/spec/compositor/common.lux @@ -19,8 +19,11 @@ [default ["." platform (#+ Platform)]]]]]) -(type: #export Runner (-> Text Synthesis (Try Any))) -(type: #export Definer (-> Name Synthesis (Try Any))) +(type: #export Runner + (-> Text Synthesis (Try Any))) + +(type: #export Definer + (-> Name Synthesis (Try Any))) (type: #export (Instancer what) (All [anchor expression directive] @@ -37,7 +40,7 @@ (do phase.monad [_ runtime] (phase expressionS)))] - (:: host evaluate! evaluation-name expressionG)))) + (\ host evaluate! evaluation-name expressionG)))) (def: (definer (^slots [#platform.runtime #platform.phase #platform.host]) state) @@ -52,7 +55,7 @@ [host-name host-value host-directive] (generation.define! lux-name expressionG) _ (generation.learn lux-name host-name)] (phase (synthesis.constant lux-name))))] - (:: host evaluate! "definer" definitionG)))) + (\ host evaluate! "definer" definitionG)))) (def: #export (executors target expander platform analysis-bundle generation-bundle directive-bundle -- cgit v1.2.3