aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/dependency.lux
blob: 5958919241fc32ae539d77a42274b1f35a955a56 (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
(.module:
  [lux (#- Type)
   [abstract
    [equivalence (#+ Equivalence)]
    ["." hash (#+ Hash)]]
   [data
    ["." text
     ["%" format (#+ format)]]]]
  ["." // #_
   ["#" artifact (#+ Artifact)
    [type (#+ Type)]]])

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

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

(def: #export equivalence
  (Equivalence Dependency)
  (\ hash &equivalence))