trapdoor use this.std
This commit is contained in:
parent
25d00f7a2f
commit
db24747a47
1 changed files with 3 additions and 3 deletions
|
|
@ -7,10 +7,10 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
(this)
|
(this.std)
|
||||||
enfHasAttr
|
enfHasAttr
|
||||||
enfHasAttr'
|
enfHasAttr'
|
||||||
enfIsType
|
enfIsAttrs
|
||||||
;
|
;
|
||||||
in rec {
|
in rec {
|
||||||
masterkey = "_''traps''_";
|
masterkey = "_''traps''_";
|
||||||
|
|
@ -53,6 +53,6 @@ in rec {
|
||||||
if isFunction T
|
if isFunction T
|
||||||
then openTrapdoorFn key T
|
then openTrapdoorFn key T
|
||||||
else
|
else
|
||||||
assert enfIsType "set" T "openTrapdoor";
|
assert enfIsAttrs T "openTrapdoor";
|
||||||
openTrapdoorSet key T;
|
openTrapdoorSet key T;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue