-
-
Notifications
You must be signed in to change notification settings - Fork 18
Prepare 0.4.0.0 release #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -25,7 +25,28 @@ jobs: | |
- "8.8.4" | ||
- "8.10.5" | ||
- "9.0.1" | ||
exclude: | ||
- os: macOS-latest | ||
ghc: 8.10.5 | ||
- os: macOS-latest | ||
ghc: 8.8.4 | ||
- os: macOS-latest | ||
ghc: 8.6.5 | ||
- os: macOS-latest | ||
ghc: 8.4.4 | ||
- os: macOS-latest | ||
ghc: 8.2.2 | ||
|
||
- os: windows-latest | ||
ghc: 8.10.5 | ||
- os: windows-latest | ||
ghc: 8.8.4 | ||
- os: windows-latest | ||
ghc: 8.6.5 | ||
- os: windows-latest | ||
ghc: 8.4.4 | ||
- os: windows-latest | ||
ghc: 8.2.2 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
This file contains hidden or 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,33 @@ | ||
## This is the configuration file for Headroom. | ||
## See https://github.com/vaclavsvejcar/headroom for more details. | ||
version: 0.4.0.0 | ||
|
||
run-mode: replace | ||
|
||
source-paths: | ||
- src/ | ||
|
||
excluded-paths: [] | ||
|
||
template-paths: | ||
- https://raw.githubusercontent.com/kowainik/org/main/headroom-templates/haskell.mustache | ||
|
||
variables: | ||
author: Kowainik | ||
email: [email protected] | ||
_haskell_module_copyright: "(c) {{ _current_year }} {{ author }}" | ||
|
||
license-headers: | ||
haskell: | ||
put-after: ["^{-#"] | ||
margin-bottom-code: 1 | ||
margin-top-code: 1 | ||
block-comment: | ||
starts-with: ^{- \| | ||
ends-with: (?<!#)-}$ | ||
|
||
post-process: | ||
update-copyright: | ||
enabled: true | ||
config: | ||
selected-authors-only: ["{{ author }}"] |
This file contains hidden or 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 hidden or 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 |
---|---|---|
|
@@ -2,9 +2,12 @@ | |
{-# LANGUAGE Rank2Types #-} | ||
|
||
{- | | ||
Copyright: (c) 2017-2020 Kowainik | ||
SPDX-License-Identifier: MPL-2.0 | ||
Maintainer: Kowainik <[email protected]> | ||
Module : Data.TMap | ||
Copyright : (c) 2017-2021 Kowainik | ||
SPDX-License-Identifier : MPL-2.0 | ||
Maintainer : Kowainik <[email protected]> | ||
Stability : Stable | ||
Portability : Portable | ||
|
||
'TMap' is a heterogeneous data structure similar in its essence to | ||
'Data.Map.Map' with types as keys, where each value has the type of its key. | ||
|
@@ -21,7 +24,6 @@ Here is an example of a 'TMap' with a comparison to 'Data.Map.Map': | |
|
||
The runtime representation of 'TMap' is an array, not a tree. This makes | ||
'lookup' significantly more efficient. | ||
|
||
-} | ||
|
||
module Data.TMap | ||
|
This file contains hidden or 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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
{-# LANGUAGE NoImplicitPrelude #-} | ||
|
||
{- | | ||
Copyright: (c) 2017-2020 Kowainik | ||
SPDX-License-Identifier: MPL-2.0 | ||
Maintainer: Kowainik <[email protected]> | ||
Module : Data.TypeRepMap | ||
Copyright : (c) 2017-2021 Kowainik | ||
SPDX-License-Identifier : MPL-2.0 | ||
Maintainer : Kowainik <[email protected]> | ||
Stability : Stable | ||
Portability : Portable | ||
|
||
A version of 'Data.TMap.TMap' parametrized by an interpretation @f@. This | ||
sort of parametrization may be familiar to users of @vinyl@ records. | ||
|
@@ -44,7 +47,8 @@ type instance FType "border-width" = Double | |
"border-color" -> F (rgb 148 0 211) | ||
"border-width" -> F 0.5 | ||
@ | ||
--} | ||
-} | ||
|
||
module Data.TypeRepMap | ||
( -- * Map type | ||
TypeRepMap() | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -20,9 +20,12 @@ | |
-- {-# OPTIONS_GHC -ddump-simpl -dsuppress-idinfo -dsuppress-coercions -dsuppress-type-applications -dsuppress-uniques -dsuppress-module-prefixes #-} | ||
|
||
{- | | ||
Copyright: (c) 2017-2020 Kowainik | ||
SPDX-License-Identifier: MPL-2.0 | ||
Maintainer: Kowainik <[email protected]> | ||
Module : Data.TypeRepMap.Internal | ||
Copyright : (c) 2017-2021 Kowainik | ||
SPDX-License-Identifier : MPL-2.0 | ||
Maintainer : Kowainik <[email protected]> | ||
Stability : Stable | ||
Portability : Portable | ||
|
||
Internal API for 'TypeRepMap' and operations on it. The functions here do | ||
not have any stability guarantees and can change between minor versions. | ||
|
This file contains hidden or 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
cabal-version: 2.4 | ||
name: typerep-map | ||
version: 0.3.3.0 | ||
version: 0.4.0.0 | ||
synopsis: Efficient implementation of a dependent map with types as keys | ||
description: | ||
A dependent map from type representations to values of these types. | ||
|
@@ -23,15 +23,15 @@ license: MPL-2.0 | |
license-file: LICENSE | ||
author: Veronika Romashkina, Vladislav Zavialov, Dmitrii Kovanikov | ||
maintainer: Kowainik <[email protected]> | ||
copyright: 2017-2020 Kowainik | ||
copyright: 2017-2021 Kowainik | ||
category: Data, Data Structures, Types | ||
build-type: Simple | ||
extra-doc-files: README.md | ||
, CHANGELOG.md | ||
tested-with: GHC == 8.2.2 | ||
, GHC == 8.4.4 | ||
, GHC == 8.6.5 | ||
, GHC == 8.8.3 | ||
, GHC == 8.8.4 | ||
, GHC == 8.10.5 | ||
, GHC == 9.0.1 | ||
|
||
|
@@ -54,10 +54,8 @@ common common-options | |
-Widentities | ||
-Wincomplete-uni-patterns | ||
-Wincomplete-record-updates | ||
if impl(ghc >= 8.0) | ||
ghc-options: -Wredundant-constraints | ||
if impl(ghc >= 8.2) | ||
ghc-options: -fhide-source-paths | ||
-Wredundant-constraints | ||
-fhide-source-paths | ||
if impl(ghc >= 8.4) | ||
ghc-options: -Wmissing-export-lists | ||
-Wpartial-fields | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, new feature 👍🏼 🎉