mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-07 07:18:48 +00:00
Fixed typos in ml files
This commit is contained in:
parent
1dfa7ffc0f
commit
84af2a21f5
1 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,8 @@
|
||||||
open GT
|
open GT
|
||||||
|
|
||||||
(* The type for the expression. Note, in regular OCaml there is no "@type..."
|
(* The type for the expression. Note, in regular OCaml there is no "@type..."
|
||||||
notation, it came from GT. *)
|
notation, it came from GT.
|
||||||
|
*)
|
||||||
@type expr =
|
@type expr =
|
||||||
(* integer constant *) | Const of int
|
(* integer constant *) | Const of int
|
||||||
(* variable *) | Var of string
|
(* variable *) | Var of string
|
||||||
|
|
@ -46,7 +47,7 @@ let _ =
|
||||||
|
|
||||||
val eval : state -> expr -> int
|
val eval : state -> expr -> int
|
||||||
|
|
||||||
Takes a state and an expression, andreturns the value of the expression in
|
Takes a state and an expression, and returns the value of the expression in
|
||||||
the given state.
|
the given state.
|
||||||
*)
|
*)
|
||||||
let eval = failwith "Not implemented yet"
|
let eval = failwith "Not implemented yet"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue