mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
hoon: comment and syn mod for +slab
This commit is contained in:
parent
90e8c9a2b0
commit
831206d4fe
@ -12013,8 +12013,11 @@
|
||||
=+ gun=(~(mint ut typ) %noun gen)
|
||||
[p.gun (slum q.gat q.sam)]
|
||||
::
|
||||
:: +slab states whether you can access an arm in a type
|
||||
:: for reading, writing, or reading-and-writing.
|
||||
::
|
||||
++ slab :: test if contains
|
||||
|= {cog/@tas way/?(%read %rite %both) typ/type}
|
||||
|= [way=?(%read %rite %both) cog=@tas typ=type]
|
||||
?= [%| *]
|
||||
(~(find ut typ) way ~[cog])
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user