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
Packages
Cabal
Commits
7f74d8da
Commit
7f74d8da
authored
Apr 08, 2014
by
Daniel Trstenjak
Browse files
Pretty print 'extensions' and 'tested-with' fields in one line.
parent
c13850d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/PackageDescription/Parse.hs
View file @
7f74d8da
...
...
@@ -145,7 +145,7 @@ pkgDescrFieldDescrs =
,
simpleField
"author"
showFreeText
parseFreeText
author
(
\
val
pkg
->
pkg
{
author
=
val
})
,
l
istField
"tested-with"
,
spaceL
istField
"tested-with"
showTestedWith
parseTestedWithQ
testedWith
(
\
val
pkg
->
pkg
{
testedWith
=
val
})
,
listField
"data-files"
...
...
@@ -410,13 +410,13 @@ binfoFieldDescrs =
,
spaceListField
"other-languages"
disp
parseLanguageQ
otherLanguages
(
\
langs
binfo
->
binfo
{
otherLanguages
=
langs
})
,
l
istField
"default-extensions"
,
spaceL
istField
"default-extensions"
disp
parseExtensionQ
defaultExtensions
(
\
exts
binfo
->
binfo
{
defaultExtensions
=
exts
})
,
l
istField
"other-extensions"
,
spaceL
istField
"other-extensions"
disp
parseExtensionQ
otherExtensions
(
\
exts
binfo
->
binfo
{
otherExtensions
=
exts
})
,
l
istField
"extensions"
,
spaceL
istField
"extensions"
disp
parseExtensionQ
oldExtensions
(
\
exts
binfo
->
binfo
{
oldExtensions
=
exts
})
...
...
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