mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 15:08:34 +03:00
settings: renamed to settings store; used =* instead of =/
This commit is contained in:
parent
67954362a3
commit
78bdcbf020
@ -59,13 +59,13 @@
|
||||
[~ this]
|
||||
::
|
||||
[%bucket @ ~]
|
||||
=/ bucket-key i.t.pax
|
||||
=* bucket-key i.t.pax
|
||||
?> (~(has by settings) bucket-key)
|
||||
[~ this]
|
||||
::
|
||||
[%entry @ @ ~]
|
||||
=/ bucket-key i.t.pax
|
||||
=/ entry-key i.t.t.pax
|
||||
=* bucket-key i.t.pax
|
||||
=* entry-key i.t.t.pax
|
||||
=/ bucket (~(got by settings) bucket-key)
|
||||
?> (~(has by bucket) entry-key)
|
||||
[~ this]
|
||||
@ -79,14 +79,14 @@
|
||||
``noun+!>(settings)
|
||||
::
|
||||
[%x %bucket @ ~]
|
||||
=/ buc i.t.t.pax
|
||||
=* buc i.t.t.pax
|
||||
=/ bucket=(unit bucket) (~(get by settings) buc)
|
||||
?~ bucket [~ ~]
|
||||
``noun+!>(u.bucket)
|
||||
::
|
||||
[%x %entry @ @ ~]
|
||||
=/ buc i.t.t.pax
|
||||
=/ key i.t.t.t.pax
|
||||
=* buc i.t.t.pax
|
||||
=* key i.t.t.t.pax
|
||||
=/ =bucket (fall (~(get by settings) buc) ~)
|
||||
=/ entry=(unit val) (~(get by bucket) key)
|
||||
?~ entry [~ ~]
|
Loading…
Reference in New Issue
Block a user