diff --git a/hoon/scaffolding/playpen.hoon b/hoon/scaffolding/playpen.hoon index 9c75a75..e2e8e1e 100644 --- a/hoon/scaffolding/playpen.hoon +++ b/hoon/scaffolding/playpen.hoon @@ -292,6 +292,16 @@ %+ add $(i +(i), b t.b) (lsh [bloq (mul step i)] (end [bloq step] i.b)) :: +++ rev :: reverse block order + ~/ %rev + |= [boz=bloq len=@ud dat=@] + ~> %sham.%rev + ^- @ + =. dat (end [boz len] dat) + %+ lsh + [boz (sub len (met boz dat))] + (swp boz dat) +:: ++ rip :: disassemble ~/ %rip |= [a=bite b=@]