mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 20:02:51 +03:00
c8f1b4d5a1
* release-candidate: (33 commits) update pin-vere-commit.txt Bug fix for metal-wrapping runes Remove old-zuse (#867) Type Analysis (#865) remove clam from error sigpam Fix compiler error. Remove temporary type analysis work. Remove ++cook from ++auri parsing Remove forced ssl upgrade for localhost http reqs moved to new branch with updated arvo 11. demacrotizes %6, %7, %8, and %9 10. updates %5 to require two subformulas (4K) 9. emits %10 (4K) 8. adds and implements edit (%10) (4K) 7. removes %13 and %14 (4K) 6. emits %11 and %12 (4K) 5. implements hint at %11 and wish at %12 (4K) 4. removes %10 and %11 (4K) 3. emits %13 and %14 (4K) 2. implements %13 and %14 (4K) ...
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
::
|
|
:::: /hoon/action/sole/mar
|
|
::
|
|
/? 310
|
|
/- sole
|
|
::
|
|
::::
|
|
::
|
|
=, sole
|
|
|_ sole-action
|
|
::
|
|
++ grab :: convert from
|
|
|%
|
|
++ json
|
|
|= jon/^json ^- sole-action
|
|
%- need %. jon
|
|
=> [dejs-soft:format ..sole-action]
|
|
|^ (fo %ret (of det+change ~))
|
|
++ fo
|
|
|* {a/term b/fist}
|
|
|=(c/json ?.(=([%s a] c) (b c) (some [a ~])))
|
|
::
|
|
++ ra
|
|
|* {a/{term fist} b/fist}
|
|
|= c/json %. c
|
|
?.(=(%a -.c) b (pe -.a (ar +.a)))
|
|
::
|
|
++ ke :: callbacks
|
|
|* {gar/* sef/(trap fist)}
|
|
|= jon/json ^- (unit _gar)
|
|
=- ~! gar ~! (need -) -
|
|
((sef) jon)
|
|
::
|
|
++ change (ot ler+(at ni ni ~) ted+(pe 0v0 edit) ~)
|
|
++ char (cu taft so)
|
|
++ edit
|
|
%+ ke *sole-edit |. ~+
|
|
%+ fo %nop
|
|
%+ ra mor+edit
|
|
(of del+ni set+(cu tuba sa) ins+(ot at+ni cha+char ~) ~)
|
|
--
|
|
::
|
|
++ noun sole-action :: clam from %noun
|
|
--
|
|
--
|