Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
4a47819f
Commit
4a47819f
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2003-05-07 21:20:04 by cvscast] Empty log message
Original author: cvscast Date: 2003-05-07 21:20:04+00:00
parent
9abf4ec4
Changes
1
Hide whitespace changes
Inline
Side-by-side
driver/cduce.ml
View file @
4a47819f
...
...
@@ -49,9 +49,11 @@ let rec print_exn ppf = function
print_norm
t
;
Format
.
fprintf
ppf
"but its infered type is: %a@
\n
"
print_norm
s
;
Format
.
fprintf
ppf
"which is not a subtype, as shown by the value %a@
\n
"
Types
.
Sample
.
print
(
Types
.
Sample
.
get
(
Types
.
diff
s
t
));
Format
.
fprintf
ppf
"%s@
\n
"
msg
Format
.
fprintf
ppf
"which is not a subtype, as shown by the value "
;
Location
.
protect
ppf
(
fun
ppf
->
Types
.
Sample
.
print
ppf
(
Types
.
Sample
.
get
(
Types
.
diff
s
t
)));
Format
.
fprintf
ppf
"@
\n
%s@
\n
"
msg
|
Typer
.
NonExhaustive
t
->
Format
.
fprintf
ppf
"This pattern matching is not exhaustive@
\n
"
;
Format
.
fprintf
ppf
"Residual type: %a@
\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment