File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,6 @@ valueToExpr = iterNValue (\_ _ -> thk) phi
320320 phi (NVClosure' _ _ ) = Fix . NSym $ " <closure>"
321321 phi (NVPath' p ) = Fix $ NLiteralPath p
322322 phi (NVBuiltin' name _) = Fix . NSym $ " builtins." <> pack name
323- phi _ = error " Pattern synonyms foil completeness check"
324323
325324 mkStr ns = Fix $ NStr $ DoubleQuoted [Plain (stringIgnoreContext ns)]
326325
@@ -396,4 +395,3 @@ printNix = iterNValue (\_ _ -> thk) phi
396395 phi NVClosure' {} = " <<lambda>>"
397396 phi (NVPath' fp ) = fp
398397 phi (NVBuiltin' name _) = " <<builtin " <> name <> " >>"
399- phi _ = error " Pattern synonyms foil completeness check"
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ toXML = runWithStringContext . fmap pp . iterNValue (\_ _ -> cyc) phi
6161 pure $ Element (unqual " function" ) mempty (paramsXML p) Nothing
6262 NVPath' fp -> pure $ mkElem " path" " value" fp
6363 NVBuiltin' name _ -> pure $ mkElem " function" " name" name
64- _ -> error " Pattern synonyms mask coverage"
6564
6665mkElem :: String -> String -> String -> Element
6766mkElem n a v = Element (unqual n) [Attr (unqual a) v] mempty Nothing
You can’t perform that action at this time.
0 commit comments