Null ports
Jonathan Hseu <[email protected]> Sun, 13 Oct 2002 22:00:05 -0500
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <20021014030005.GA26777@vomjom> |
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 <[email protected], [email protected], [email protected]> GPG ID: 5228D713 GPG fingerprint: 220B A4EF 70FE B884 CB38 F93F EA8A 1024 5228 D713