aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/dependency.lux
blob: 629618620bf16261cdb2e2f35f5c939464766f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(.module:
  [lux (#- Type)
   [abstract
    ["." equivalence (#+ Equivalence)]
    ["." hash (#+ Hash)]]
   [data
    ["." text]]
   [world
    [net (#+ URL)]]]
  ["." // #_
   ["#." artifact (#+ Artifact)
    [type (#+ Type)]]])

(type: #export Dependency
  {#artifact Artifact
   #type Type})

(def: #export equivalence
  (Equivalence Dependency)
  ($_ equivalence.product
      //artifact.equivalence
      text.equivalence
      ))

(def: #export hash
  (Hash Dependency)
  ($_ hash.product
      //artifact.hash
      text.hash
      ))