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

(type: .public Origin
  (#Local Path)
  (#Remote URL))

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