urbit/lib/rekey.hoon

17 lines
738 B
Plaintext
Raw Normal View History

2017-12-15 04:12:40 +03:00
:: Userspace implementation of old /_ @foo behavior
:: :: ::
:::: /hoon/rekey/lib :: ::
:: :: ::
/? 310 :: version
:: :: ::
:::: :: ::
:: :: ::
=, wired
|* typ=@tas
|* inp=(map knot *) ^- (map (odo:raid typ) _(~(got by inp)))
2017-12-16 03:33:34 +03:00
=> .(inp `(map knot _(~(got by inp)))`inp)
%- malt
2017-12-15 04:12:40 +03:00
%+ murn ~(tap by inp)
|* [a=knot b=*] ^- (unit [(odo:raid typ) _b])
(both (slaw typ a) `b)