Skip to content
Snippets Groups Projects
Commit 966e1556 authored by Kristin Braun's avatar Kristin Braun
Browse files

nom2EA function compiles

parent 0fe522e0
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,10 @@ let exportFormula f = ...@@ -79,6 +79,10 @@ let exportFormula f =
exportFormula_buffer sb f; exportFormula_buffer sb f;
Buffer.contents sb Buffer.contents sb
let nom2EA f = FALSE let rec nom2EA f = match f with
| CoAlgFormula.FALSE -> FALSE
| CoAlgFormula.AP a -> AP a
| CoAlgFormula.AND (a, b) -> E (AND (nom2EA a, nom2EA b))
| _ -> TRUE
(* vim: set et sw=2 sts=2 ts=8 : *) (* vim: set et sw=2 sts=2 ts=8 : *)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment