Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
548a30b9
Commit
548a30b9
authored
Feb 19, 2016
by
Andrey Mokhov
Browse files
Make RecordWildCards a default extension.
See
#207
.
parent
dfce0db8
Changes
11
Hide whitespace changes
Inline
Side-by-side
build.bat
View file @
548a30b9
...
...
@@ -4,6 +4,7 @@
@set
ghcArgs
=
--make
^
-Wall
^
-fno-warn-name-shadowing
^
-XRecordWildCards
^
src
/Main
.hs
^
-isrc
^
-rtsopts
^
...
...
build.sh
View file @
548a30b9
...
...
@@ -36,6 +36,7 @@ ghc \
"
$root
/src/Main.hs"
\
-Wall
\
-fno-warn-name-shadowing
\
-XRecordWildCards
\
-i
"
$root
/src"
\
-rtsopts
\
-with-rtsopts
=
-I0
\
...
...
shaking-up-ghc.cabal
View file @
548a30b9
...
...
@@ -108,13 +108,13 @@ executable ghc-shake
, Way
default-language: Haskell2010
default-extensions: RecordWildCards
other-extensions: DeriveDataTypeable
, DeriveGeneric
, FlexibleInstances
, GeneralizedNewtypeDeriving
, LambdaCase
, OverloadedStrings
, RecordWildCards
, ScopedTypeVariables
build-depends: base >= 4.8 && < 5
, ansi-terminal == 0.6.*
...
...
src/Rules/Actions.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Actions
(
build
,
buildWithResources
,
copyFile
,
createDirectory
,
removeDirectory
,
copyDirectory
,
moveDirectory
,
applyPatch
,
fixFile
,
runConfigure
,
runMake
,
...
...
src/Rules/Compile.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Compile
(
compilePackage
)
where
import
Base
...
...
src/Rules/Data.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Data
(
buildPackageData
)
where
import
qualified
System.Directory
as
IO
...
...
src/Rules/Dependencies.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Dependencies
(
buildPackageDependencies
)
where
import
Development.Shake.Util
(
parseMakefile
)
...
...
src/Rules/Documentation.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Documentation
(
buildPackageDocumentation
)
where
import
Base
...
...
src/Rules/Library.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Library
(
buildPackageLibrary
,
buildPackageGhciLibrary
,
cSources
,
hSources
)
where
...
...
src/Rules/Program.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Program
(
buildProgram
)
where
import
Data.Char
...
...
src/Rules/Register.hs
View file @
548a30b9
{-# LANGUAGE RecordWildCards #-}
module
Rules.Register
(
registerPackage
)
where
import
Base
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment