From 982c8cfc5f22a3b7c95890d3004a9f23ec35d389 Mon Sep 17 00:00:00 2001 From: Ted Blackman Date: Mon, 28 Jan 2019 23:53:08 -0800 Subject: [PATCH] Fix +has:in in hall --- app/hall.hoon | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/hall.hoon b/app/hall.hoon index c6f731db64..ca5a663f04 100644 --- a/app/hall.hoon +++ b/app/hall.hoon @@ -498,7 +498,7 @@ ~/ %hall-action-create |= {nom/name des/cord typ/security} ^+ ..ta-action - ?. (~(has in stories) nom) + ?. (~(has by stories) nom) %^ impact nom %new :* [[[our.bol nom] ~] ~ ~] des @@ -516,7 +516,7 @@ :: ~/ %hall-action-design |= {nom/name cof/config} - ?. (~(has in stories) nom) + ?. (~(has by stories) nom) (impact nom %new cof) (ta-evil (crip "{(trip nom)}: already exists")) :: @@ -2654,15 +2654,16 @@ == :: ?: =(wat ~) & - %- ~(has in wat) - ?+ -.det %hasnot - $gram %grams - $new %config-l - $remove %config-l + ?+ -.det | + $gram (~(has in wat) %grams) + $new (~(has in wat) %config-l) + $remove (~(has in wat) %config-l) $config ?: =(cir.det [our.bol nom]) - %config-l %config-r + (~(has in wat) %config-l) + (~(has in wat) %config-r) $status ?: =(cir.det [our.bol nom]) - %group-l %group-r + (~(has in wat) %group-l) + (~(has in wat) %group-r) == == ::