Merge branch 'next/kelvin/411' into yu/fix-ames-migration

This commit is contained in:
yosoyubik 2024-02-05 12:59:09 +01:00
commit 57ee384925
2 changed files with 21 additions and 16 deletions

View File

@ -1795,6 +1795,12 @@
[b ~ ~]
bal(l.a $(a l.a))
::
++ run :: apply gate to values
|* b=gate
|-
?~ a a
[n=(b n.a) l=$(a l.a) r=$(a r.a)]
::
++ tap :: adds list to end
=+ b=`(list _?>(?=(^ a) n.a))`~
|- ^+ b

View File

@ -5652,27 +5652,26 @@
keens [keens.s ~]
::
snd.+
%- malt
%+ turn
~(tap by snd.+.s)
%- ~(urn by snd.+.s)
|= [=bone m=message-pump-state-17]
:- bone
%= m
unsent-messages
%- ~(gas to *(qeu message))
%+ turn
~(tap to unsent-messages.m)
|= b=message-blob
^- message
=/ hed
?. =(1 (end 0 bone))
%plea
?: =(0 (end 0 (rsh 0 bone)))
%boon
%naxplanation
=/ msg =>([cue=cue arg=b] ~+((cue arg)))
;;(message [hed msg])
== == ==
%= m
unsent-messages
=* um unsent-messages.m
=> [..message hed=hed um=um ..cue]
~+ %- ~(run to um)
|= b=message-blob
^- message
=> [..message hed=hed ..cue arg=b]
~+ ;;(message [hed (cue arg)])
==
==
==
--
:: +scry: dereference namespace
::