Skip to content

Commit 2de035c

Browse files
committed
Better hello world
1 parent 36409e7 commit 2de035c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ System effects for Coq. See [coq:io](https://github.com/clarus/io).
77

88
Import C.Notations.
99

10-
Definition hello_world : C.t System.effects unit :=
10+
Definition hello_world (argv : list LString.t) : C.t System.effects unit :=
1111
System.log (LString.s "Hello world!").
1212

1313
## Install
@@ -22,7 +22,7 @@ See the complete documentation online on [doc/io-system](http://clarus.github.io
2222
## Extraction
2323
To run a program you can extract it to [OCaml](https://ocaml.org/). Do:
2424

25-
Definition main := Extraction.Lwt.run (Extraction.eval hello_world).
25+
Definition main := Extraction.run hello_world.
2626
Extraction "main" main.
2727

2828
You can now compile and execute `main.ml`:

0 commit comments

Comments
 (0)