Skip to content

Commit

Permalink
Make Reverse and Forward proper structure declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
kfl committed Apr 12, 2017
1 parent b604ef2 commit 40027b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Forward.sml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
structure Forward =
struct
local
datatype Labelled = datatype Expr.Labelled
fun & e = Expr.unit_elab e
Expand Down Expand Up @@ -63,3 +65,4 @@ fun forward xs expr =
in #2(diffEval expr) end

end
end
3 changes: 3 additions & 0 deletions Reverse.sml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
structure Reverse =
struct
local
datatype Labelled = datatype Expr.Labelled
in
Expand Down Expand Up @@ -150,3 +152,4 @@ fun reverse_imp xs expr =
end

end
end

0 comments on commit 40027b1

Please sign in to comment.