1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-23 02:41:35 +03:00
shrub/jets/f/ut_tack.c

23 lines
511 B
C
Raw Normal View History

2013-09-29 00:21:18 +04:00
/* j/6/tack.c
**
*/
#include "all.h"
2014-09-04 07:10:43 +04:00
2013-09-29 00:21:18 +04:00
2014-09-06 00:13:24 +04:00
u3_noun
2014-11-06 22:13:57 +03:00
u3qfu_tack(u3_noun van,
2015-08-28 19:34:36 +03:00
u3_noun sut,
u3_noun peh,
u3_noun mur)
2013-09-29 00:21:18 +04:00
{
2014-11-18 00:56:51 +03:00
u3_noun von = u3i_molt(u3k(van), u3x_sam, u3k(sut), 0);
2014-11-06 03:20:01 +03:00
u3_noun gat = u3j_hook(von, "tack");
2014-09-02 04:10:04 +04:00
2015-08-28 19:34:36 +03:00
return u3n_kick_on(u3i_molt(gat,
u3x_sam_2,
u3k(peh),
u3x_sam_3,
u3k(mur),
0));
2013-09-29 00:21:18 +04:00
}