Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

Commit 8164b99

Browse files
committed
s/Run/Evaluate/
1 parent c7cec7b commit 8164b99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Exception.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Require Import Coq.Lists.List.
22
Require Import FunctionNinjas.All.
33
Require Import Io.All.
4+
Require Io.Evaluate.
45
Require Io.List.
5-
Require Io.Run.
66

77
Import ListNotations.
88
Import C.Notations.
@@ -26,7 +26,7 @@ Definition effect (E : Effect.t) (Exc : Type) : Effect.t :=
2626

2727
Definition lift {E : Effect.t} {Exc A : Type} (x : C.t E A)
2828
: C.t (effect E Exc) A :=
29-
C.run (fun c => call (effect E Exc) (Command.Ok c)) x.
29+
Evaluate.command (fun c => call (effect E Exc) (Command.Ok c)) x.
3030

3131
Definition raise {E : Effect.t} {Exc A : Type} (exc : Exc)
3232
: C.t (effect E Exc) A :=
@@ -35,7 +35,7 @@ Definition raise {E : Effect.t} {Exc A : Type} (exc : Exc)
3535

3636
Definition run {E : Effect.t} {Exc A : Type} (x : C.t (effect E Exc) A)
3737
: C.t E (A + list Exc) :=
38-
Run.exception (fun (c : Effect.command (effect E Exc)) =>
38+
Evaluate.exception (fun (c : Effect.command (effect E Exc)) =>
3939
match c with
4040
| Command.Ok c =>
4141
let! answer := call E c in

0 commit comments

Comments
 (0)