Skip to content

Commit 895115a

Browse files
committed
examples: reformat
1 parent 317c239 commit 895115a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/processes/holder_annotated.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
type msg = [ | `Reset | `Add of int | `Hello of string ]
1+
type msg = [ `Reset | `Add of int | `Hello of string ]
22

3-
type state = (string * int)
3+
type state = string * int
44

55
let handle_message (state : state) (msg : msg option) =
66
let x, y = state in

examples/processes/typed_reply.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
let rec a_loop pid recv i =
22
match recv ~timeout:Process.Infinity with
33
| None -> a_loop pid recv i
4-
| Some `Noop -> a_loop pid recv i
4+
| Some `Noop -> a_loop pid recv i
55
| Some (`Call (cb, msg)) ->
66
Erlang.send cb i;
77
a_loop pid recv (i + msg)

0 commit comments

Comments
 (0)