-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add typeName
function to Relude.Extra.Typeable
module
#89
Comments
Should we create a new module |
In terms of the implementation, is there a better way of getting a text from the |
Well, it definitely should go in some
You can just use |
* adds an asumMap function to Foldable * [#81] updates CHANGELOG.md to reflect asumMap addition * [#81] Simplifes asumMap, adding an inline pragma, and bumps the package version to 0.3.1 * [#81] Removes a line of whitespace on CHANGELOG to keep formatting consistent * [#86] adds Hlint rules for 'asumMap' * updates .hlint.yaml file and fixes hlint.dhall syntax * [#86] Avoids composition in asumMap hlint rules to play nicer with hlint * [#86] adds both point free and pointful rules for asumMap in hlint, and updates yaml * [#86] fixes the first asumMap rule * [#89] adds Relude.Extra.Type module, containing a typeName function * updates changelog * [#89] Formatting: adds line of separation between Relude and other module imports * [#89] Makes typeName inlineable and have 2 implementations to support ghc 8.0 * [#89] Updates Relude module documentation to talk about Relude.Extra.Type * Readds accidentally deleted line of documentation [ci skip] * Simplifies documentation example for typeName [ci skip] * fixes parentheses in documentation for typeName
* adds an asumMap function to Foldable * [#81] updates CHANGELOG.md to reflect asumMap addition * [#81] Simplifes asumMap, adding an inline pragma, and bumps the package version to 0.3.1 * [#81] Removes a line of whitespace on CHANGELOG to keep formatting consistent * [#86] adds Hlint rules for 'asumMap' * updates .hlint.yaml file and fixes hlint.dhall syntax * [#86] Avoids composition in asumMap hlint rules to play nicer with hlint * [#86] adds both point free and pointful rules for asumMap in hlint, and updates yaml * [#86] fixes the first asumMap rule * [#89] adds Relude.Extra.Type module, containing a typeName function * updates changelog * [#89] Formatting: adds line of separation between Relude and other module imports * [#89] Makes typeName inlineable and have 2 implementations to support ghc 8.0 * [#89] Updates Relude module documentation to talk about Relude.Extra.Type * Readds accidentally deleted line of documentation [ci skip] * Simplifies documentation example for typeName [ci skip] * fixes parentheses in documentation for typeName * [#92] Adds a Relude.Extra.Tuple module with a 'dupe' function * [#92] Adds 'mapToFst' and 'mapToSnd' to Extra.Tuple * [#92] Adds a mapBoth function * [#92] Inlines everything in Relude.Extra.Tuple * Updates changelog * Updates documentation in Relude module
The following function is very useful:
I'm tired of copy-pasting it in every my project. So I think it's a good idea to implement it directly in
relude
.The text was updated successfully, but these errors were encountered: