Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file error_messages.ml
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192(* This file was auto-generated based on "error_messages.txt". *)(* Please note that the function [message] can raise [Not_found]. *)letmessage=funs->matchswith|522->"You cannot ascribe a type on the head predicate.\n"|293->"Illformed binder after type cast.\nYou cannot ascribe a type to bound variables.\n"|3|57|97|98|101|105|108|109|113|114|482|483|509|510->"Illformed pi or sigma.\nExamples:\npi X\\ p X\npi X Y Z\\ p X, q Y Z\nsigma X\\ p X\nsigma X Y Z\\ p X, q Y Z\n"|470|405|406|408->"Mixfix declaration expected (Teyjus compatibility, ignored by Elpi).\nExamples:\ninfixl and 30.\ninfixr ++ 45.\nprefix - 12.\n"|347|348->"Useonly directive expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nuseonly foo.\nuseonly foo, bar.\n"|351|453->"Closed directive expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nclosed foo.\nclosed foo, bar.\n"|390->"Local kind declaration expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nlocalkind foo.\nlocalkind foo, bar.\n"|361|384|468->"Module/Signature header expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nmodule foo.\nsig bar.\n"|59|90|64|63|66|67|76|82|411|412|60|78|92|68|70|71->"Definition export directive expected (Teyjus compatibility, ignored by Elpi).\nExamples:\nexportdef foo, bar.\nexportdef foo (term -> term).\n"|506|507|87|61|462|85|73|74|515|516|517|518->"Predicate declaration expected. Examples:\npred append i:list A, i:list A, o:list A.\npred append i:list A i:list A o:list A.\npred mapR i:list A, i:(pred i:A, o:B), o:list B.\nfunc map list A, (func A -> B) -> list B.\n"|478->"External declaration expected. Examples:\nexternal type foo term -> prop.\nexternal pred foo i:term.\n"|415|420|417|418->"Constraint Handling Rule header expected. Examples:\nconstraint foo {\nconstraint foo bar {\n"|398|350|400|401|399->"Kind declaration expected. Examples:\nkind term type.\nkind list type -> type.\n"|392|393|395->"Local symbol declaration expected. Examples:\nlocal foo.\nlocal foo, bar.\nlocal foo (term -> term).\n"|381|382->"Namespace header expected. Examples:\nnamespace foo {\n"|363|365|367|368|369|370|371|373|374|375->"Shortening directive expected. Examples:\nshorten foo.{ bar }.\nshorten foo.{ bar , baz }.\nshorten foo.{ bar , baz. { qux , dim } }.\n"|353|354|102|359|457|355|356->"Type abbreviation expected. Examples:\ntypeabbrev context (list term).\ntypeabbrev (two A) (pair A A).\n"|112|279|270->"List expected. Examples:\n[ this , that | More ].\n[ Head | Tail ].\n"|123->"Closing '[' with ')'.\n"|592|597|8|596->"Malformed accumulate. Examples:\naccumulate foo.\naccumulate foo, bar.\naccumulate \"foo/bar\".\n"|486|485|476|292|491|495|496|500|501|503|488|489->"Malformed CHR rule declaration. Examples:\nrule (match this).\nrule (match this) \\ (remove that).\nrule (match this) \\ (remove that) | (only when).\nrule (match this) \\ (remove that) | (only when) <=> (add this).\nrule (E :> Ctx ?- match this goal).\n"|479|480|459->"Malformed type declaration. Examples:\ntype app tm -> tm -> tm.\ntype lam (tm -> tm) -> tm.\ntype (++) list A -> list A -> list A.\n"|450|451->"Malformed 'external' attribute. Example:\n:external pred\n"|445|447|427->"Malformed grafting attribute. Example:\n:before \"some name\"\n:after \"some other name\"\n:replace \"some other name\"\n:remove \"some other name\"\n"|441->"Malformed 'if' attribute. Example:\n:if \"VARIABLE\"\n"|431|432|439->"Malformed 'index' attribute. Example:\n:index(1 _ 1)\n"|429->"Malformed 'name' attribute. Example:\n:name \"name of the clause\"\n"|423|425|436->"Attribute expected. Examples:\n:name \"some name\"\n:index (_ 1 1)\n"|386|387|388|389->"Malformed macro declaration. Example:\nmacro @foo X Y :- p X => q Y.\n"|342->"Prefix symbol expected.\n"|339->"Postifx symbol expected.\n"|306->"Infix symbol expected.\n"|46->"Right parenthesis ')' expected.\n"|0|106|107->"Term expected.\n"|43->"Malformed as binding. Examples:\n(f X as Y)\n([_,_|_] as Y)\n"|100|289->"Mixfix symbol or term expected.\n"|526|528|548|550|530|552|555|557|559|561|563|565|567|569|571|532|534|536|546|575|577|581|583|587|589|512|513|217|239|221|251|219|225|235|241|253|223|227|255|259|231|257|261|229|212|233|249|265|215|287|126|296|302|203|206|159|175|183|187|155|167|179|149|153|181|185|157|119|122|141|165|145|129|137|135|177|143|151|139|161|191|195|199|201|269|273|276|280|521|290|514|163|169|171|173|189|237|243|245|247|263|271|538|540|542|544|573|197|585|300|298|95|99|210|94|523|58|277|124|204|207|208|209|193|267|579->"Term expected, got keyword.\n"|525->"Unexpected keyword.\n"|345|472->"Unexpected start of program clause or declaration.\n"|164|152|184|180|156|186|154|150|144|176|142|174|545|554|547|238|549|529|551|556|558|560|562|564|566|568|570|228|260|230|258|254|226|222|252|224|218|250|220|148|178|580|531|533|535|574|576|582|586|588|527|256|240|234|140|160|166|182|158|190|194|198|200|202|216|232|248|264|268|272|275|295|138|282|211|162|168|170|172|188|236|242|244|246|262|537|539|541|543|572|196|584|192|266|578->"This infix operator expects a right hand side.\n"|125|520|118->"This prefix operator expects an argument.\n"|_->raiseNot_found