2022-08-31 13:18:49 +00:00
|
|
|
let Any = ./Any/Type.dhall
|
|
|
|
|
|
|
|
let Number = ./Number/Type.dhall
|
|
|
|
|
|
|
|
let Set = ./Set/Type.dhall
|
|
|
|
|
|
|
|
let Path = ./Path/Type.dhall
|
|
|
|
|
|
|
|
in { derivation : ∀(attrs : Set) → Path
|
|
|
|
, abort : ∀(s : Text) → Any
|
|
|
|
, add : ∀(e1 : Number) → ∀(e2 : Number) → Number
|
|
|
|
, all : ∀(pred : ∀(e : Any) → Bool) → ∀(list : List Any) → Bool
|
|
|
|
, any : ∀(pred : ∀(e : Any) → Bool) → ∀(list : List Any) → Bool
|
|
|
|
, attrNames : ∀(set : Set) → List Text
|
|
|
|
, attrValues : ∀(set : Set) → List Any
|
|
|
|
, baseNameOf : ∀(s : Path) → Text
|
|
|
|
, bitAnd : ∀(e1 : Natural) → ∀(e2 : Natural) → Natural
|
|
|
|
, bitOr : ∀(e1 : Natural) → ∀(e2 : Natural) → Natural
|
|
|
|
, bitXor : ∀(e1 : Natural) → ∀(e2 : Natural) → Natural
|
|
|
|
, break : ∀(v : Any) → Any
|
|
|
|
, catAttrs : ∀(attr : Text) → ∀(list : List Set) → Set
|
2022-08-31 17:51:53 +00:00
|
|
|
, ceil : ∀(double : Number) → Integer
|
2022-08-31 13:18:49 +00:00
|
|
|
, compareVersions : ∀(s1 : Text) → ∀(s2 : Text) → Integer
|
|
|
|
, concatLists : ∀(lists : List (List Any)) → List Any
|
|
|
|
, concatMap :
|
|
|
|
∀(f : ∀(e : Any) → Any) → ∀(lists : List (List Any)) → List Any
|
|
|
|
, concatStringsSep : ∀(separator : Text) → ∀(list : List Text) → Text
|
|
|
|
, deepSeq : ∀(e1 : Any) → ∀(e2 : Any) → Any
|
|
|
|
, dirOf : ∀(s : Path) → Path
|
|
|
|
, div : ∀(e1 : Number) → ∀(e2 : Number) → Number
|
|
|
|
, elem : ∀(x : Any) → ∀(xs : List Any) → Bool
|
|
|
|
, elemAt : ∀(xs : List Any) → ∀(n : Natural) → Any
|
|
|
|
, fetchClosure : ∀(args : Set) → Path
|
|
|
|
, fetchGit : ∀(args : Set) → Path
|
|
|
|
, fetchTarball : ∀(args : Set) → Path
|
|
|
|
, fetchurl : ∀(url : Text) → Path
|
|
|
|
, filter : ∀(f : ∀(e : Any) → Bool) → ∀(list : List Any) → List Any
|
|
|
|
, filterSource :
|
|
|
|
∀(e1 : ∀(path : Path) → ∀(type : Text) → Bool) → ∀(e2 : Path) → Set
|
2022-08-31 17:51:53 +00:00
|
|
|
, floor : ∀(double : Number) → Integer
|
2022-08-31 13:18:49 +00:00
|
|
|
, `foldl'` :
|
|
|
|
∀(op : ∀(e1 : Any) → ∀(e2 : Any) → Any) →
|
|
|
|
∀(nul : Any) →
|
|
|
|
∀(list : List Any) →
|
|
|
|
Any
|
|
|
|
, fromJSON : ∀(e : Text) → Any
|
|
|
|
, functionArgs : ∀(e : Any) → Set
|
|
|
|
, genList :
|
|
|
|
∀(generator : ∀(e : Natural) → Any) → ∀(length : Natural) → List Any
|
|
|
|
, genericClosure :
|
|
|
|
∀(attrset : { startSet : List Set, operator : ∀(item : Set) → Set }) →
|
|
|
|
Set
|
|
|
|
, getAttr : ∀(s : Text) → ∀(set : Set) → Any
|
|
|
|
, getFlake : ∀(args : Text) → Set
|
|
|
|
, groupBy : ∀(f : ∀(e : Any) → Text) → ∀(list : List Any) → Set
|
|
|
|
, hasAttr : ∀(s : Text) → ∀(set : Set) → Bool
|
|
|
|
, hashFile : ∀(type : Text) → ∀(p : Path) → Text
|
|
|
|
, hashString : ∀(type : Text) → ∀(p : Text) → Text
|
|
|
|
, head : ∀(type : List Any) → Any
|
|
|
|
, import : ∀(path : Path) → Any
|
|
|
|
, insersectAttrs : ∀(e1 : Set) → ∀(e2 : Set) → Set
|
|
|
|
, isAttrs : ∀(e : Any) → Bool
|
|
|
|
, isBool : ∀(e : Any) → Bool
|
|
|
|
, isFloat : ∀(e : Any) → Bool
|
|
|
|
, isFunction : ∀(e : Any) → Bool
|
|
|
|
, isInt : ∀(e : Any) → Bool
|
|
|
|
, isList : ∀(e : Any) → Bool
|
|
|
|
, isPath : ∀(e : Any) → Bool
|
|
|
|
, isString : ∀(e : Any) → Bool
|
|
|
|
, length : ∀(e : List Any) → Natural
|
|
|
|
, lessThan : ∀(e1 : Number) → ∀(e2 : Number) → Bool
|
|
|
|
, listToAttrs : ∀(e : List { name : Text, value : Any }) → Set
|
|
|
|
, map : ∀(f : ∀(e : Any) → Any) → ∀(list : List Any) → List Any
|
|
|
|
, mapAttrs :
|
|
|
|
∀(f : ∀(e1 : Text) → ∀(e2 : Any) → Any) → ∀(attrset : Set) → Set
|
|
|
|
, match : ∀(regex : Text) → ∀(str : Text) → Optional (List Any)
|
|
|
|
, mul : ∀(e1 : Number) → ∀(e2 : Number) → Number
|
|
|
|
, parseDrvName : ∀(s : Text) → { name : Text, version : Text }
|
|
|
|
, partition :
|
|
|
|
∀(pred : ∀(e : Any) → Bool) →
|
|
|
|
∀(list : List Any) →
|
|
|
|
{ right : List Any, wrong : List Any }
|
|
|
|
, path : ∀(args : Set) → Path
|
|
|
|
, pathExists : ∀(path : Path) → Bool
|
|
|
|
, placeholder : ∀(output : Text) → Text
|
|
|
|
, readDir : ∀(path : Path) → Set
|
|
|
|
, readFile : ∀(path : Path) → Text
|
|
|
|
, removeAttrs : ∀(set : Set) → ∀(list : List Text) → Set
|
|
|
|
, replaceStrings :
|
|
|
|
∀(from : List Text) → ∀(to : List Text) → ∀(s : Text) → Text
|
|
|
|
, seq : ∀(e1 : Any) → ∀(e2 : Any) → Any
|
|
|
|
, sort :
|
|
|
|
∀(comparator : ∀(e1 : Any) → ∀(e2 : Any) → Bool) →
|
|
|
|
∀(list : List Any) →
|
|
|
|
List Any
|
|
|
|
, split : ∀(regex : Text) → ∀(string : Text) → List Any
|
|
|
|
, splitVersion : ∀(version : Text) → List Text
|
|
|
|
, stringLength : ∀(string : Text) → Natural
|
|
|
|
, sub : ∀(e1 : Number) → ∀(e2 : Number) → Number
|
|
|
|
, substring : ∀(start : Natural) → ∀(len : Natural) → ∀(s : Text) → Text
|
|
|
|
, tail : ∀(list : List Any) → List Any
|
|
|
|
, throw : ∀(s : Text) → Any
|
|
|
|
, toFile : ∀(name : Text) → ∀(s : Text) → Path
|
|
|
|
, toJSON : ∀(e : Any) → Text
|
|
|
|
, toString : ∀(e : Any) → Text
|
|
|
|
, toXML : ∀(e : Any) → Text
|
|
|
|
, trace : ∀(e1 : Any) → ∀(e2 : Any) → Any
|
|
|
|
, traceVerbose : ∀(e1 : Any) → ∀(e2 : Any) → Any
|
|
|
|
, tryEval : ∀(e : Any) → { success : Bool, value : Any }
|
|
|
|
, typeOf : ∀(e : Any) → Text
|
|
|
|
, zipAttrsWith :
|
|
|
|
∀(f : ∀(name : Text) → ∀(values : List Any) → Any) →
|
|
|
|
∀(list : List Set) →
|
|
|
|
Set
|
|
|
|
}
|