Arc Forumnew | comments | leaders | submitlogin
3 points by akkartik 3281 days ago | link | parent

You should be able to save the real stdout outside defop (say in a global variable) and then use it within. For example, this works:

  (let real-stdout (stdout)
    (w/stdout (stderr)
      (prn "a")
      (w/stdout real-stdout
        (prn "b"))))
Does that make sense? Let me know if you have more questions.


2 points by highCs 3281 days ago | link

That works nicely. Thank you.

-----