issue-64
#66
Open
Olivier
wants to merge 2 commits from issue-64
into issue-58
pull from: issue-64
merge into: Olivier:issue-58
Olivier:equality-constraint-graph
Olivier:introduce-rigid
Olivier:equality-constraint-env-immutable
Olivier:upstream
Olivier:equality-constraint-2
Olivier:issue-58
Olivier:type-equations
Olivier:equality-constraint
Olivier:master
Olivier:type-equations-master
Olivier:n-ary-fun-printing
Olivier:abstract
Olivier:rigid-variable-fix
Olivier:rigid-variable-rebase
Olivier:letrn
Olivier:gadt-language
Olivier:multi-eq
Olivier:error-message-rebase
Olivier:rigid-rebase
Olivier:error-message
Olivier:clearer-test-output
Olivier:ranges
Olivier:minor-fixes
Olivier:test-files
Olivier:alcotest
Olivier:abbrev_refactoring
Olivier:rigid-variable
Olivier:test-framework
Olivier:qcheck
Olivier:printer
Olivier:improve-ast
Olivier:parser
Olivier:last_push
Olivier:frozen-infer
Olivier:f-datatypes
Olivier:f-datatypes-wip
Olivier:match-upstream
Olivier:variants-upstream
Olivier:pretty-printer-upstream
Olivier:new-f-constructs-upstream
Olivier:frozen-solver2
Olivier:solver2
Olivier:match2
Olivier:frozen-solver
Olivier:frozen
Olivier:match
Olivier:variants
Olivier:debug
Olivier:new-api
Olivier:pretty-printer
Olivier:co_cps
Olivier:new-f-constructs
Olivier:separate-test
Olivier:type-environment
Reviewers
Request review
No reviewers
Labels
Apply labels
Clear labels
No items
No Label
Milestone
Set milestone
Clear milestone
No items
No Milestone
Assignees
Assign users
Clear assignees
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: Olivier/inferno-experimental#66
Reference in new issue
There is no content yet.
Delete Branch 'issue-64'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
#64
try
LabelMap.find (Label l) labels
with Not_found ->
raise (LabelNotFound (Label l))
Ici on pourrait écrire
label
partout à la place de(Label l)
et ça marcherait aussi bien.try
TyConstrMap.find (Type tid) datatypes
with Not_found ->
raise (DeclarationNotFound (Type tid))
(Pareil ici,
tid
à la place de(Type tid)
serait plus simple.)str "A record was expected."
| DeclarationNotFound (Datatype.Type tid) ->
str "Type error." ++
str "Unknown type declaration : %s." tid
Du coup ici et dessous ce seraient plutôt des
Scope error
, non ?Datatype.Env.add_decl Datatype.Env.empty option_typedecl
(* We test this example in an empty datatype environment. It should raise
an error indicating it did not find the label. *)
indicating that it ....
4f625619de
to227a4bbaf8
4 months ago