[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Null ports



So, I often have:
(dm my-fun (out|<out-port> output|<log>)
  (when output (msg out ...)))

I plan on replacing this with a null port.  What I'm wondering is:
is a null port generally useful enough to have in goo?

A null output port would inherit <out-port> and simply replace its
functions with ones that do nothing.  It could even inherit both
<out-port> and <in-port>, acting like /dev/null

Thoughts?

-- 
Jonathan Hseu <vomjom@vomjom.org, vomjom@debian.org, jh4@cec.wustl.edu>
GPG ID:          5228D713
GPG fingerprint: 220B A4EF 70FE B884 CB38  F93F EA8A 1024 5228 D713