Proposal [Trac #1212]: add IPv6 support to network library

Ian Lynagh igloo at
Sat Apr 7 11:57:11 EDT 2007

Just a little nit:

On Wed, Apr 04, 2007 at 03:44:24PM -0700, Bryan O'Sullivan wrote:
> hunk ./Network.hs 1
> -{-# OPTIONS_GHC -cpp #-}
> +{-# OPTIONS -cpp #-}

    Previous versions of GHC accepted OPTIONS rather than OPTIONS_GHC,
    but that is now deprecated.

and hugs (for one, not sure about other impls) doesn't support -cpp.

I think

    {-# LANGUAGE CPP #-}

is the prefered way of doing this.


More information about the Libraries mailing list