[commit: packages/directory] master: Add Bounded and Enum instances for XdgDirectory (2cb99b3)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:50:34 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2cb99b3eee7fdafca015bd93f2fd36ac6bb6cc6b/directory

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

commit 2cb99b3eee7fdafca015bd93f2fd36ac6bb6cc6b
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Sat May 2 04:00:59 2015 -0400

    Add Bounded and Enum instances for XdgDirectory


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

2cb99b3eee7fdafca015bd93f2fd36ac6bb6cc6b
 System/Directory.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/Directory.hs b/System/Directory.hs
index 151533d..e40c6b7 100644
--- a/System/Directory.hs
+++ b/System/Directory.hs
@@ -1200,7 +1200,7 @@ data XdgDirectory
     --   On Windows, it is @%LOCALAPPDATA%@
     --   (e.g. @C:\/Users\//\<user\>/\/AppData\/Local@).
     --   Can be considered as the user-specific equivalent of @\/var\/cache at .
-  deriving (Eq, Ord, Read, Show)
+  deriving (Bounded, Enum, Eq, Ord, Read, Show)
 
 -- | Obtain the paths to special directories for storing user-specific
 --   application data, configuration, and cache files, conforming to the



More information about the ghc-commits mailing list