mirror of
https://github.com/urbit/shrub.git
synced 2024-12-03 05:43:18 +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