-
Notifications
You must be signed in to change notification settings - Fork 700
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve #6589: Remove -any and -none syntax
- Loading branch information
Showing
18 changed files
with
387 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cabal-version: 3.4 | ||
name: anynone | ||
version: 0 | ||
synopsis: The -any none demo | ||
build-type: Simple | ||
|
||
library | ||
default-language: Haskell2010 | ||
exposed-modules: AnyNone | ||
build-depends: base -any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
VERSION: Just (mkVersion [3,4]) | ||
anynone.cabal:10:26: | ||
unexpected '-' | ||
expecting space, white space, opening paren, operator, comma or end of input | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cabal-version: 3.0 | ||
name: anynone | ||
version: 0 | ||
synopsis: The -any none demo | ||
build-type: Simple | ||
|
||
library | ||
default-language: Haskell2010 | ||
exposed-modules: AnyNone | ||
build-depends: base -any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
GenericPackageDescription | ||
{condBenchmarks = [], | ||
condExecutables = [], | ||
condForeignLibs = [], | ||
condLibrary = Just | ||
CondNode | ||
{condTreeComponents = [], | ||
condTreeConstraints = [Dependency | ||
`PackageName "base"` | ||
(OrLaterVersion `mkVersion [0]`) | ||
(Set.fromList [LMainLibName])], | ||
condTreeData = Library | ||
{exposedModules = [`ModuleName "AnyNone"`], | ||
libBuildInfo = BuildInfo | ||
{asmOptions = [], | ||
asmSources = [], | ||
autogenIncludes = [], | ||
autogenModules = [], | ||
buildToolDepends = [], | ||
buildTools = [], | ||
buildable = True, | ||
cSources = [], | ||
ccOptions = [], | ||
cmmOptions = [], | ||
cmmSources = [], | ||
cppOptions = [], | ||
customFieldsBI = [], | ||
cxxOptions = [], | ||
cxxSources = [], | ||
defaultExtensions = [], | ||
defaultLanguage = Just Haskell2010, | ||
extraBundledLibs = [], | ||
extraDynLibFlavours = [], | ||
extraFrameworkDirs = [], | ||
extraGHCiLibs = [], | ||
extraLibDirs = [], | ||
extraLibFlavours = [], | ||
extraLibs = [], | ||
frameworks = [], | ||
hsSourceDirs = [], | ||
includeDirs = [], | ||
includes = [], | ||
installIncludes = [], | ||
jsSources = [], | ||
ldOptions = [], | ||
mixins = [], | ||
oldExtensions = [], | ||
options = PerCompilerFlavor [] [], | ||
otherExtensions = [], | ||
otherLanguages = [], | ||
otherModules = [], | ||
pkgconfigDepends = [], | ||
profOptions = PerCompilerFlavor [] [], | ||
sharedOptions = PerCompilerFlavor [] [], | ||
staticOptions = PerCompilerFlavor [] [], | ||
targetBuildDepends = [Dependency | ||
`PackageName "base"` | ||
(OrLaterVersion | ||
`mkVersion [0]`) | ||
(Set.fromList | ||
[LMainLibName])], | ||
virtualModules = []}, | ||
libExposed = True, | ||
libName = LMainLibName, | ||
libVisibility = LibraryVisibilityPublic, | ||
reexportedModules = [], | ||
signatures = []}}, | ||
condSubLibraries = [], | ||
condTestSuites = [], | ||
genPackageFlags = [], | ||
gpdScannedVersion = Nothing, | ||
packageDescription = PackageDescription | ||
{author = "", | ||
benchmarks = [], | ||
bugReports = "", | ||
buildTypeRaw = Just Simple, | ||
category = "", | ||
copyright = "", | ||
customFieldsPD = [], | ||
dataDir = "", | ||
dataFiles = [], | ||
description = "", | ||
executables = [], | ||
extraDocFiles = [], | ||
extraSrcFiles = [], | ||
extraTmpFiles = [], | ||
foreignLibs = [], | ||
homepage = "", | ||
library = Nothing, | ||
licenseFiles = [], | ||
licenseRaw = Left NONE, | ||
maintainer = "", | ||
package = PackageIdentifier | ||
{pkgName = `PackageName "anynone"`, | ||
pkgVersion = `mkVersion [0]`}, | ||
pkgUrl = "", | ||
setupBuildInfo = Nothing, | ||
sourceRepos = [], | ||
specVersion = CabalSpecV3_0, | ||
stability = "", | ||
subLibraries = [], | ||
synopsis = "The -any none demo", | ||
testSuites = [], | ||
testedWith = []}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cabal-version: 3.0 | ||
name: anynone | ||
version: 0 | ||
synopsis: The -any none demo | ||
build-type: Simple | ||
|
||
library | ||
exposed-modules: AnyNone | ||
default-language: Haskell2010 | ||
build-depends: base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: monad-param | ||
category: Control | ||
version: 0.0.1 | ||
synopsis: Parameterized monads | ||
description: Implements parameterized monads by overloading the monad sugar with more liberal types. | ||
stability: alpha | ||
author: Edward Kmett <[email protected]> | ||
maintainer: Edward Kmett <[email protected]> | ||
copyright: Copyright (C) 2006-2007, Edward Kmett | ||
homepage: http://comonad.com/haskell/monad-param/dist/doc/html/Control-Monad-Parameterized.html | ||
package-url: http://comonad.com/haskell/monad-param | ||
build-depends: base -any, mtl -any, stm -any | ||
cabal-version: -any | ||
license: BSD3 | ||
license-file: LICENSE | ||
buildable: True | ||
extensions: MultiParamTypeClasses | ||
FunctionalDependencies | ||
OverlappingInstances | ||
UndecidableInstances | ||
EmptyDataDecls | ||
NoImplicitPrelude | ||
exposed-modules: Control.Monad.Parameterized | ||
ghc-options: -funbox-strict-fields -threaded -fasm | ||
hs-source-dirs: src |
Oops, something went wrong.