Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huynhtrankhanh committed Dec 3, 2023
1 parent e41bc29 commit afb97a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/coqCodegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ Proof. simpl. repeat destruct (decide _). all: solve_decision. Defined.
return header + joinStatements(statements) + '\n'

function joinStatements(statements: string[]) {
if (statements.length) return 'Done _ _ _ tt'
if (statements.length === 0) return 'Done _ _ _ tt'
return statements.reduce(
(accumulated, current) =>
'bind (' + accumulated + ') (fun ignored => ' + current + ')'
Expand Down

0 comments on commit afb97a1

Please sign in to comment.