@@ -19,15 +19,17 @@ idrisDef = haskellDef {
19 opStart = iOpStart,
19 opStart = iOpStart,
20 opLetter = iOpLetter,
20 opLetter = iOpLetter,
21 identLetter = identLetter haskellDef <|> lchar '.',
21 identLetter = identLetter haskellDef <|> lchar '.',
22− reservedOpNames = [":", "..", "=", "\\", "|", "<-", "->", "=>", "**"],
22+ reservedOpNames
23+ = [":", "..", "=", "\\", "|", "<-", "->", "=>", "**"],
23− reservedNames = ["let", "in", "data", "codata", "record", "Set",
25+ = ["let", "in", "data", "codata", "record", "Set",
24− "do", "dsl", "import", "impossible",
26+ "do", "dsl", "import", "impossible",
25− "case", "of", "total", "partial",
27+ "case", "of", "total", "partial", "mutual",
26− "infix", "infixl", "infixr",
28+ "infix", "infixl", "infixr",
27− "where", "with", "syntax", "proof", "postulate",
29+ "where", "with", "syntax", "proof", "postulate",
28− "using", "namespace", "class", "instance",
30+ "using", "namespace", "class", "instance",
29− "public", "private", "abstract",
31+ "public", "private", "abstract",
30− "Int", "Integer", "Float", "Char", "String", "Ptr"]
32+ "Int", "Integer", "Float", "Char", "String", "Ptr"]
33iOpStart = oneOf ":!#$%&*+./<=>?@\\^|-~"
35iOpStart = oneOf ":!#$%&*+./<=>?@\\^|-~"