Skip to content
Adam Bliss edited this page Oct 25, 2013 · 1 revision

Implementation

++  adit                                                ::  duct privilege
  |=  hen=duct
  ^-  ?(%gold %iron %lead)
  ?~  hen
    %lead
  ?~  t.hen
    ?:  ?=([%gold *] i.hen)  %gold
    ?:  ?=([%iron *] i.hen)  %iron
    %lead
  $(hen t.hen)

Comments



Parts of this document are generated automatically. Edits within the comments section will be preserved.

Clone this wiki locally