Add a text for no proofs
This commit is contained in:
父節點
98562eca2d
當前提交
f35a8d17e8
@ -221,7 +221,8 @@ viewProofTree : ResultMode -> Term Metavariable -> (RuleEnv, RuleEnv) -> Result
|
||||
viewProofTree resultMode query (prog, renderProg) =
|
||||
case single prog (prove query |> Bergamot.Rules.andThen reifyProofTree) of
|
||||
Just proofTree -> renderProofTree resultMode proofTree renderProg
|
||||
Nothing -> Ok <| Html.div [ class "bergamot-no-proofs" ] []
|
||||
Nothing -> Ok <| Html.div [ class "bergamot-no-proofs" ]
|
||||
[ Html.text "No applicable rules to prove input" ]
|
||||
|
||||
view : Model -> Html Msg
|
||||
view m =
|
||||
|
載入中…
新增問題並參考
Block a user