Skip to content

Commit

Permalink
Fix parsing issue in VectorProg
Browse files Browse the repository at this point in the history
  • Loading branch information
myreen committed Dec 1, 2018
1 parent 73391fa commit d2315e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions basis/VectorProgScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Module about the built-in 'a vector.
*)
open preamble ml_translatorLib ml_translatorTheory ml_progLib
mlvectorTheory ListProgTheory basisFunctionsLib
ListProgTheory basisFunctionsLib;
open mlvectorTheory;

val _ = new_theory"VectorProg"

Expand All @@ -16,8 +17,8 @@ val _ = ml_prog_update (add_dec
``Dtabbrev unknown_loc ["'a"] "vector" (Atapp [Atvar "'a"] (Short "vector"))`` I);

val _ = trans "fromList" `Vector`
val _ = trans "length" `length`
val _ = trans "sub" `sub`
val _ = trans "length" `regexp_compiler$length`
val _ = trans "sub" `regexp_compiler$sub`


val _ = next_ml_names := ["tabulate"];
Expand Down

0 comments on commit d2315e4

Please sign in to comment.