Skip to content
GitLab
Menu
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
ad742151
Commit
ad742151
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2005-02-22 00:41:58 by afrisch] New translation for types
Original author: afrisch Date: 2005-02-22 00:41:59+00:00
parent
01a9eb8f
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
driver/cduce.ml
View file @
ad742151
...
...
@@ -258,9 +258,8 @@ let directive ppf tenv cenv = function
Typer
.
dump_type
ppf
tenv
name
;
flush_ppf
ppf
|
`Print_schema_type
schema_ref
->
assert
false
(* Typer.dump_schema_type ppf tenv schema_ref;
flush_ppf ppf *)
Typer
.
dump_schema_type
ppf
tenv
schema_ref
;
flush_ppf
ppf
|
`Reinit_ns
->
Typer
.
set_ns_table_for_printer
tenv
|
`Help
->
...
...
misc/stats.ml
View file @
ad742151
...
...
@@ -59,6 +59,9 @@ module Counter = struct
let
incr
c
=
c
.
count
<-
c
.
count
+
1
let
add
c
n
=
c
.
count
<-
c
.
count
+
n
end
...
...
misc/stats.mli
View file @
ad742151
...
...
@@ -9,6 +9,7 @@ module Counter: sig
val
create
:
string
->
t
val
incr
:
t
->
unit
val
add
:
t
->
int
->
unit
val
print
:
Format
.
formatter
->
t
->
unit
end
...
...
typing/typer.ml
View file @
ad742151
This diff is collapsed.
Click to expand it.
typing/typer.mli
View file @
ad742151
...
...
@@ -46,7 +46,7 @@ val pat: t -> Ast.ppat -> Patterns.node
val
dump_types
:
Format
.
formatter
->
t
->
unit
val
dump_type
:
Format
.
formatter
->
t
->
U
.
t
->
unit
val
dump_schema_type
:
Format
.
formatter
->
t
->
(
Schema_types
.
component_kind
*
U
.
t
*
Ns
.
qname
)
->
unit
Format
.
formatter
->
t
->
(
Schema_types
.
component_kind
*
U
.
t
*
U
.
t
)
->
unit
val
dump_ns
:
Format
.
formatter
->
t
->
unit
val
set_ns_table_for_printer
:
t
->
unit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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