aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/repository/origin.lux
blob: ca97a8cffaa513c396550118950238beabd0a0a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(.module:
  [lux #*
   [abstract
    [equivalence (#+ Equivalence)]]
   [data
    ["." sum]
    ["." text]]
   [world
    [file (#+ Path)]
    [net (#+ URL)]]])

(type: #export Origin
  (#Local Path)
  (#Remote URL))

(def: #export equivalence
  (Equivalence Origin)
  ($_ sum.equivalence
      text.equivalence
      text.equivalence
      ))