diff options
author | Eduardo Julian | 2020-11-02 17:31:39 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-11-02 17:31:39 -0400 |
commit | 03b1085924b225d34d3b11f1a442b0b5d926c417 (patch) | |
tree | e50b2d0947bf7aa53d2ea8321693e4c0a21836ac /stdlib/source/program/aedifex/dependency | |
parent | 3e67e244ad1f58a7bab0094967a86be72aae2482 (diff) |
Allow defining anonymous actors.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/program/aedifex/dependency/resolution.lux | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stdlib/source/program/aedifex/dependency/resolution.lux b/stdlib/source/program/aedifex/dependency/resolution.lux index 7e48610e3..10874cbfc 100644 --- a/stdlib/source/program/aedifex/dependency/resolution.lux +++ b/stdlib/source/program/aedifex/dependency/resolution.lux @@ -3,6 +3,7 @@ ["." host (#+ import:)] [abstract [codec (#+ Codec)] + [equivalence (#+ Equivalence)] [monad (#+ do)]] [control ["." io (#+ IO)] @@ -133,6 +134,10 @@ Resolution (dictionary.new //.hash)) +(def: #export equivalence + (Equivalence Resolution) + (dictionary.equivalence ///package.equivalence)) + (exception: #export (cannot-resolve {dependency Dependency}) (let [artifact (get@ #//.artifact dependency) type (get@ #//.type dependency)] |