Skip to content

Commit

Permalink
Add printErrorLn to common.mc
Browse files Browse the repository at this point in the history
  • Loading branch information
br4sco committed Nov 21, 2024
1 parent 5966b62 commit 2d77f56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stdlib/common.mc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ let flip = lam f. lam x. lam y. f y x

-- Printing stuff
let printLn = lam s. print (concat s "\n"); flushStdout ()
let printErrorLn = lam s. printError (concat s "\n"); flushStderr ()
let printSeq = lam s. print (join s)
let printSeqLn = lam s. printSeq s; print "\n"; flushStdout ()
let dprintLn = lam x. dprint x; printLn ""
Expand Down

0 comments on commit 2d77f56

Please sign in to comment.