Library proposal: Add System.Info.isWindows
Ian Lynagh
igloo at earth.li
Wed Aug 15 13:41:59 EDT 2007
On Wed, Aug 15, 2007 at 05:57:38PM +0100, Duncan Coutts wrote:
> On Wed, 2007-08-15 at 16:49 +0100, Ian Lynagh wrote:
> > On Wed, Aug 15, 2007 at 03:40:56PM +0100, Neil Mitchell wrote:
> > >
> > > By modifying your proposal ever so slightly (and probably as you
> > > intended anyway):
> > >
> > > > data OSFlavour = Linux | Windows | MacOS | BSD | Solaris | Other String
> > > > deriving Eq
>
> Is everyone ok with the type name?
No opinion on the type name, but the Other needs to be
OtherOSFlavour (or Other<whatever name is chosen>) or it will clash
with, e.g., the Other in Arch.
Thanks
Ian
More information about the Libraries
mailing list