aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-03-29 03:43:19 +0100
committerDaniel Gröber <dxld@darkboxed.org>2019-03-29 03:43:19 +0100
commitac6047c57d7b2c1ccbea112c0c2bdefcbc2f251d (patch)
treec6c1192eec1ccbd5ef88cb7bd66fa9f228bc292f /src/CabalHelper
parentce844a9402e4759562b737994979a58907e4e98a (diff)
Add accessor for ChModuleName newtype
Diffstat (limited to 'src/CabalHelper')
-rw-r--r--src/CabalHelper/Shared/InterfaceTypes.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CabalHelper/Shared/InterfaceTypes.hs b/src/CabalHelper/Shared/InterfaceTypes.hs
index 5cdd98c..37758bc 100644
--- a/src/CabalHelper/Shared/InterfaceTypes.hs
+++ b/src/CabalHelper/Shared/InterfaceTypes.hs
@@ -58,7 +58,7 @@ data ChLibraryName = ChMainLibName
| ChSubLibName String
deriving (Eq, Ord, Read, Show, Generic)
-newtype ChModuleName = ChModuleName String
+newtype ChModuleName = ChModuleName { unChModuleName :: String }
deriving (Eq, Ord, Read, Show, Generic)
data ChComponentInfo = ChComponentInfo