mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
hoon: make +slab respect variance using given mode and return false
This commit is contained in:
parent
7e4c0036f6
commit
90e8c9a2b0
@ -12014,9 +12014,9 @@
|
|||||||
[p.gun (slum q.gat q.sam)]
|
[p.gun (slum q.gat q.sam)]
|
||||||
::
|
::
|
||||||
++ slab :: test if contains
|
++ 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
|
++ slap
|
||||||
|= {vax/vase gen/hoon} ^- vase :: untyped vase .*
|
|= {vax/vase gen/hoon} ^- vase :: untyped vase .*
|
||||||
|
Loading…
Reference in New Issue
Block a user