tangled
alpha
login
or
join now
dunhamsteve.bsky.social
/
newt
1
fork
atom
Newt - a dependent typed programming language
1
fork
atom
overview
issues
pulls
pipelines
intro now adds parens when needed
dunhamsteve.bsky.social
1 month ago
6e7e1238
c15f22a1
+1
-1
1 changed file
expand all
collapse all
unified
split
src
Commands.newt
+1
-1
src/Commands.newt
···
241
241
242
242
makeEdit : (QName × Int × Tm) → CodeAction
243
243
makeEdit con@(QN _ nm, _, _) =
244
244
-
let str = unwords $ resugarOper $ introDCon con
244
244
+
let str = addParens True $ resugarOper $ introDCon con
245
245
in Intro str $ MkEdit fc $ str
246
246
247
247
introActions _ = pure Nil