mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
electroplates ++head and ++tail
This commit is contained in:
parent
ab73f364a2
commit
7d7d70655b
@ -2264,8 +2264,8 @@
|
||||
:: section 2cI, almost macros ::
|
||||
::
|
||||
++ same |*(* +<) :: identity
|
||||
++ head |*(^ +<-) :: get head
|
||||
++ tail |*(^ +<+) :: get head
|
||||
++ head |*(^ ,:+<-) :: get head
|
||||
++ tail |*(^ ,:+<+) :: get tail
|
||||
++ fore |*(a/mold |*(b/mold (pair a b))) :: pair before
|
||||
++ aftr |*(a/mold |*(b/mold (pair b a))) :: pair after
|
||||
++ test |=(^ =(+<- +<+)) :: equality
|
||||
|
Loading…
Reference in New Issue
Block a user