~jojo/Carth

9aeef16e5da9db334e932a1a2fa228407cbdf44a — JoJo 4 months ago a6c639e
std: use io/wrap instead of io/pure for display-inline

I.e., don't execute the action untio the IO is run
1 files changed, 1 insertions(+), 1 deletions(-)

M std/io.carth
M std/io.carth => std/io.carth +1 -1
@@ 33,7 33,7 @@
(extern unsafe-display-inline (Fun Str Unit))

(define (display-inline s)
  (io/pure (unsafe-display-inline s)))
  (io/wrap (unsafe-display-inline s)))

(define (display s)
  (display-inline (str-append s "\n")))