hoon: make +slab respect variance using given mode and return false

This commit is contained in:
pilfer-pandex 2020-05-21 19:38:10 -04:00
parent 7e4c0036f6
commit 90e8c9a2b0

View File

@ -12014,9 +12014,9 @@
[p.gun (slum q.gat q.sam)]
::
++ slab :: test if contains
|= {cog/@tas typ/type}
|= {cog/@tas way/?(%read %rite %both) typ/type}
?= [%| *]
(~(find ut typ) %read ~[cog])
(~(find ut typ) way ~[cog])
::
++ slap
|= {vax/vase gen/hoon} ^- vase :: untyped vase .*