mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Fixed comment.
This commit is contained in:
parent
9a05e26f2c
commit
a02d2f10f0
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ let rec eval ((stack, ((st, i, o) as c)) as conf) = function
|
||||||
|
|
||||||
val run : prg -> int list -> int list
|
val run : prg -> int list -> int list
|
||||||
|
|
||||||
Takes an input stream, a program, and returns an output stream this program calculates
|
Takes a program, an input stream, and returns an output stream this program calculates
|
||||||
*)
|
*)
|
||||||
let run p i = let (_, (_, _, o)) = eval ([], (Expr.empty, i, [])) p in o
|
let run p i = let (_, (_, _, o)) = eval ([], (Expr.empty, i, [])) p in o
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue