Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
Why3
why3
Commits
7fdb671e
Commit
7fdb671e
authored
11 years ago
by
Jean-Christophe Filliâtre
Browse files
Options
Downloads
Patches
Plain Diff
cleaning up
parent
919272de
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/io.mlw
+17
-15
17 additions, 15 deletions
modules/io.mlw
with
17 additions
and
15 deletions
modules/io.mlw
+
17
−
15
View file @
7fdb671e
module StdIO
use import string.Char
(*i use import string.String *)
use import string.Char
(*i use import string.String *)
(*i TODO: add a ghost reference to represent the standard output *)
(*i TODO: add a ghost reference to represent the standard output *)
val print_char (c:char) : unit
(** prints a character on standard output. *)
val print_char (c:char) : unit
(** prints a character on standard output. *)
(*i val print_string (s:string) : unit *)
(*i prints a string on standard output. *)
(*i val print_string (s:string) : unit *)
(*i prints a string on standard output. *)
val print_int (n: int) : unit
(** prints an integer, in decimal, on standard output. *)
val print_int (n: int) : unit
(** prints an integer, in decimal, on standard output. *)
(*i val print_real (r:real) : unit *)
(*i prints a real number on standard output. *)
(*i val print_real (r:real) : unit *)
(*i prints a real number on standard output. *)
(*i val print_endline (s:string) : unit *)
(*i prints a string, followed by a newline character, on standard output and flushes standard output. *)
(*i val print_endline (s:string) : unit *)
(*i prints a string, followed by a newline character, on standard output
and flushes standard output. *)
val print_newline (u:unit) : unit
(** prints a newline character on standard output, and flushes standard output. *)
val print_newline (u:unit) : unit
(** prints a newline character on standard output, and flushes standard
output. *)
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment