From bf9d3752e07202f7be6b333bca0f4c11a1eee106 Mon Sep 17 00:00:00 2001 From: fang Date: Fri, 1 Jul 2022 14:48:40 +0200 Subject: [PATCH] hoon: compile +bool to constant And use hoon-style boolean syntax instead of numberic literals. Co-authored-by: joemfb --- pkg/arvo/sys/hoon.hoon | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/sys/hoon.hoon b/pkg/arvo/sys/hoon.hoon index 3c86cac6b1..4213442b41 100644 --- a/pkg/arvo/sys/hoon.hoon +++ b/pkg/arvo/sys/hoon.hoon @@ -7181,7 +7181,10 @@ :: :::: 5a: compiler utilities :: -++ bool `type`(fork [%atom %f `0] [%atom %f `1] ~) :: make loobean +++ bool :: make loobean + ^~ ^- type + (fork [%atom %f `%.y] [%atom %f `%.n] ~) +:: ++ cell :: make %cell type ~/ %cell |= [hed=type tal=type]