Skip to content

Commit

Permalink
foramt
Browse files Browse the repository at this point in the history
  • Loading branch information
msprotz committed Aug 29, 2024
1 parent 267bd6b commit 4e99686
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions lib/Cleanup1.ml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@ let remove_assignments =
List.map
(fun atom ->
let name, typ = AtomMap.find atom not_yet_closed in
( { node = { atom; name; mut = true; mark = ref Krml.Mark.default; meta = None; attempt_inline = false }; typ },
( {
node =
{
atom;
name;
mut = true;
mark = ref Krml.Mark.default;
meta = None;
attempt_inline = false;
};
typ;
},
if typ = TUnit then
Krml.Helpers.eunit
else
Expand Down Expand Up @@ -153,7 +164,15 @@ let remove_assignments =
let name, typ = AtomMap.find atom not_yet_closed in
let b =
{
node = { atom; name; mut = true; mark = ref Krml.Mark.default; meta = None; attempt_inline = false };
node =
{
atom;
name;
mut = true;
mark = ref Krml.Mark.default;
meta = None;
attempt_inline = false;
};
typ;
}
in
Expand Down

0 comments on commit 4e99686

Please sign in to comment.