hoon: comment and syn mod for +slab

This commit is contained in:
pilfer-pandex 2020-05-25 22:35:54 -04:00
parent 90e8c9a2b0
commit 831206d4fe

View File

@ -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])
::