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