shrub/pkg/arvo/mar/dill/blit.hoon
fang 1d43942bf2
various: fix compilation failures
Due to recent dill changes.
2021-03-15 21:19:28 +01:00

30 lines
677 B
Plaintext

::
:::: /hoon/blit/dill/mar
::
/? 310
/- sole
=, sole
=, enjs:format
|_ dib=dill-blit:dill
++ grad %noun
::
++ grab :: convert from
|%
++ noun dill-blit:dill :: clam from %noun
--
++ grow
|%
++ noun dib
++ json
^- ^json
?+ -.dib ~|(unsupported-blit+-.dib !!)
%mor [%a (turn p.dib |=(a=dill-blit:dill json(dib a)))]
%hop %+ frond %hop
?@ p.dib (numb p.dib)
(pairs 'r'^(numb r.p.dib) 'c'^(numb c.p.dib) ~)
%put (frond -.dib (tape (tufa p.dib)))
?(%bel %clr) (frond %act %s -.dib)
==
--
--