mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
hoon: use +dvr instead of +div/+mod in |co helpers
This commit is contained in:
parent
e262403436
commit
2f2af91730
@ -6027,7 +6027,7 @@
|
||||
^- tape
|
||||
?: &(=(0 hol) =(0 min))
|
||||
rep
|
||||
=+ [rad=(mod hol bas) dar=(div hol bas)]
|
||||
=/ [dar=@ rad=@] (dvr hol bas)
|
||||
%= $
|
||||
min ?:(=(0 min) 0 (dec min))
|
||||
hol dar
|
||||
@ -6041,7 +6041,7 @@
|
||||
^- {tape @}
|
||||
?: &(=(0 hol) =(0 min))
|
||||
[rep cou]
|
||||
=+ [rad=(mod hol bas) dar=(div hol bas)]
|
||||
=/ [dar=@ rad=@] (dvr hol bas)
|
||||
%= $
|
||||
min ?:(=(0 min) 0 (dec min))
|
||||
hol dar
|
||||
|
Loading…
Reference in New Issue
Block a user