[commit: packages/process] master: Derive Show and Eq for CGid as well (a18ba75)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:17:25 UTC 2017


Repository : ssh://git@git.haskell.org/process

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a18ba7505fd12306d839360798d35af07fd709f7/process

>---------------------------------------------------------------

commit a18ba7505fd12306d839360798d35af07fd709f7
Author: Michael Snoyman <michael at snoyman.com>
Date:   Sun Nov 13 12:13:39 2016 +0200

    Derive Show and Eq for CGid as well


>---------------------------------------------------------------

a18ba7505fd12306d839360798d35af07fd709f7
 System/Process/Common.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/System/Process/Common.hs b/System/Process/Common.hs
index c5e4f57..4b18eb8 100644
--- a/System/Process/Common.hs
+++ b/System/Process/Common.hs
@@ -57,6 +57,7 @@ import System.Posix.Types
 -- will never actually be used, as the setuid/setgid system calls are not
 -- applicable on Windows. No value of this type will ever exist.
 newtype CGid = CGid Word32
+  deriving (Show, Eq)
 type GroupID = CGid
 type UserID = CGid
 #else



More information about the ghc-commits mailing list