# Copyright 2005 Kevin Reid, under the terms of the MIT X license # found at http://www.opensource.org/licenses/mit-license.html ................ import ? # value: ? def allOf := # value: ? allOf([1, 2, 3], def _(x) :any {return x < 4}) # value: true ? def eLoader := # value: ? eLoader["tools.collect.allOf"] # value: ? :DeepFrozen # value: ? .fetch("org.erights.e.tools.collect.allOf", thunk {throw("bang")}) # value: ? .fetch("a.fqn.with.no.referent", thunk {throw("bang")}) # problem: bang DeepFrozen importing we're assuming that allOf can be used as an example of non-deep-frozen import ' ? allOf == # value: false ? == # value: true Uncall/unget ? [.optUncall(53)] # value: [null] ? [.optUncall()] # value: [[, "get", ["org.erights.e.elang.evm.makeNounExpr"]]] ? [.optUnget()] # value: ["org.erights.e.elang.evm.makeNounExpr"] XXX uncall/unget on package loaders XXX uncall of all varieties of subloaders (vm-node is a bad general example) , ? # value: ? # value: see ref.updoc for Ref ? # value: ? # value: Uncaller ? # value: ? # value: ? .optUncall() # value: [, "get", ["import:*"]] ? # value: ? .getText().split("\n")[0] # value: "# Copyright 2005 Kevin Reid, under the terms of the MIT X license" safeScope ? safeScope["int"] # value: int ? safeScope.with("pi", 3.14159)["pi"] # value: 3.14159 XXX scope#get/1 with funny/nonexistent keys