shrub/mar/sched.hoon

29 lines
854 B
Plaintext
Raw Normal View History

2015-06-17 04:06:58 +03:00
!:
:::: /hoon/core/sched/mar
::
2015-12-10 07:05:58 +03:00
|_ dat+(map @da cord)
2015-06-17 04:06:58 +03:00
++ grow :: convert to
|% ++ mime [/text/x-sched (tact tape)]
2015-06-17 04:06:58 +03:00
++ tape
2015-12-10 07:05:58 +03:00
(zing `wall`(turn sorted-list |=({a+@da b+cord} "{<a>} {(trip b)}\0a")))
2015-06-18 01:44:55 +03:00
++ elem =< ;ul: *{(turn sorted-list .)}
2015-12-10 07:05:58 +03:00
|= {tym+@da ite+cord} ^- manx
2015-06-17 04:06:58 +03:00
;li: ;{b "{<tym>}"}: {(trip ite)}
++ sorted-list
(sort (~(tap by dat)) |=({{l+@ @} {r+@ @}} (lth l r)))
2015-06-17 04:06:58 +03:00
--
++ grab
|% :: convert from
++ mime
2015-12-10 07:05:58 +03:00
|= {p+mite q+octs} ^+ dat
2015-06-17 04:06:58 +03:00
=< (mo (turn (lore q.q) .))
2015-12-10 07:05:58 +03:00
|= a+@t ^- {@da @t}
2015-06-17 04:06:58 +03:00
%+ rash a
;~ (glue ace)
2015-12-10 07:05:58 +03:00
(cook |=(a+coin ?>(?=({$~ $da @} a) `@da`q.p.a)) nuck:so)
2015-06-17 04:06:58 +03:00
(cook crip (star prn))
==
--
2015-07-08 01:22:32 +03:00
++ grad %mime
--