mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-22 14:38:20 +03:00
Don't want newline after makeCase
This commit is contained in:
parent
2c7563c4e3
commit
0f80f562a0
@ -170,7 +170,7 @@ makeCase fn updatefile l n
|
||||
do let fb = fn ++ "~"
|
||||
runIO $ writeSource fb (unlines (before ++ newcase ++ later))
|
||||
runIO $ copyFile fb fn
|
||||
else iPrintResult (unlines newcase)
|
||||
else iPrintResult (showSep "\n" newcase)
|
||||
where addCaseSkel n line =
|
||||
let b = brackets False line in
|
||||
case findSubstr ('?':n) line of
|
||||
|
Loading…
Reference in New Issue
Block a user