Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undocumented twigs #823

Closed
joemfb opened this issue Jun 23, 2016 · 8 comments
Closed

undocumented twigs #823

joemfb opened this issue Jun 23, 2016 · 8 comments

Comments

@joemfb
Copy link
Member

joemfb commented Jun 23, 2016

I've been reading hoon.hoon, and I've come across the following undocumented twigs:

:: | core missing:
{$gasp p/twig q/twig}                               ::  |:
{$cork p/twig q/(map term foot)}                    ::  |^
{$port p/twig q/twig}                               ::  |~
{$tray p/twig}                                      ::  |? 

:: % call missing:
{$bake p/wing q/twig r/(list (pair wing twig))}     ::  %*

:: ^ cast missing:
{$ward p/twig q/twig}                               ::  ^. 
{$zinc p/twig}                                      ::  ^&

:: = flow missing:
{$tow p/(list twig)}                                ::  =~  twig stack

:: ! wild missing:
{$twig p/twig q/twig}                               ::  !,
{$spit p/twig q/twig}                               ::  !;
@joemfb
Copy link
Member Author

joemfb commented Jun 24, 2016

In urbit/docs#55, it was said that these twigs are deprecated. Is that true of all 10? Will they be removed from the language once Arvo has been refactored?

@philipcmonk
Copy link
Contributor

I don't think they're all deprecated. In particular, =~ needs to stay, I don't know what would replace ^., and I occasionally find |^ useful.

@cgyarvin
Copy link
Contributor

=~ should be implied at the top level of any parse. It already is in ford.

.^ is obviously just my omission.

|^ is marginal -- opinions may vary...

Sent from my iPhone

On Jun 23, 2016, at 6:22 PM, Philip Monk notifications@github.com wrote:

I don't think they're all deprecated. In particular, =~ needs to stay, I don't know what would replace ^., and I occasionally find |^ useful.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@hoclun-rigsep
Copy link

Is |^ the wet version of |_ ?

@cgyarvin
Copy link
Contributor

cgyarvin commented Dec 3, 2016 via email

@hoclun-rigsep
Copy link

Ok.

What did you mean by:

=~ should be implied at the top level of any parse. It already is in ford.

@cgyarvin
Copy link
Contributor

cgyarvin commented Dec 3, 2016 via email

@Fang-
Copy link
Member

Fang- commented Mar 9, 2018

The ^ ket and ! zap runes mentioned here are still missing.

@drbeefsupreme drbeefsupreme transferred this issue from urbit/docs Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants