cvs commit: fptools
configure.acfptools/libraries/base/System/Posix
Signals.hscfptools/libraries/base/include HsBase.h
Volker Stolz
vs at foldr.org
Thu Sep 9 04:40:43 EDT 2004
Am 08. Sep 2004 um 11:07 CEST schrieb Simon Marlow:
> >> Add cpp-protected signals sigINFO & sigWINCH if available.
> >> (An autoconf-wizard might want to look at the bottom of
> >> configure.ac, the similarities between HAVE_SIGPOLL, HAVE_SIGINFO
> >> & HAVE_SIGWINCH can surely be factored out)
> >
> > - isn't it highly undesirable for a module to have different
> > interfaces in different environments? (That is, can't these things
> > be exported with value 0?)
>
> I've no objection to putting them *somewhere* - perhaps
> System.Posix.Signals.Exts? With System.Posix.Exts to re-export
> non-POSIX things?
Yes, that'd be possible in this case -- but I'm sure there are similar cases
lurking out there where we'd have a data type, e.g.
data Signal = sigFoo | sigBar
and in this case, this couldn't be solved as cleanly, I fear.
--
Volker Stolz * http://www-i2.informatik.rwth-aachen.de/stolz/ * PGP * S/MIME
More information about the Cvs-libraries
mailing list