packages feed

auto-split 0.1.0.1 → 0.1.0.2

raw patch · 3 files changed

+12/−6 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for auto-split +## 0.1.0.2 -- 2025-02-13++* Minor improvements to the readme+ ## 0.1.0.1 -- 2025-02-08  * Improvements to error reporting
README.md view
@@ -1,4 +1,4 @@-# auto-split+# auto-split 🤸  A GHC plugin that performs automatic case splitting. @@ -7,13 +7,14 @@ This plugin is intended to be used with GHCi or adjacent utilities such as `ghcid` and `ghciwatch` as a developement tool, not as a package dependency. Here is an example command for starting a REPL for a stack project with the-`auto-split` plugin enabled:+`auto-split` plugin enabled (you may need to add `auto-split` to your+`extra-deps` first):  ``` stack repl my-project --package auto-split --ghci-options='-fplugin AutoSplit' ``` -likewise for a cabal project:+likewise for a cabal project (you may need to run `cabal update` first):  ``` cabal repl my-project --build-depends auto-split --repl-options='-fplugin AutoSplit'@@ -83,8 +84,9 @@   `-fdefer-type-errors` GHC flag is used. - Using `SPLIT` in a pattern match will insert patterns for _all_ missing cases   in the group. It doesn't restrict to the position where `SPLIT` is used.-- If the pattern match where `SPLIT` is being used contains a wildcard case-  then the plugin will have no effect because there are no missing patterns.+- If the pattern match where `SPLIT` is being used contains a catch-all+  wildcard case then the plugin will have no effect because there are no+  missing patterns. - Doesn't work well with the view patterns syntax extension - Doesn't apply to code inside CPP conditional blocks - The plugin only supports certain GHC versions with the intent of supporting
auto-split.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               auto-split-version:            0.1.0.1+version:            0.1.0.2 synopsis: Case splitting plugin description: A GHC plugin that performs automatic case splitting license:            BSD-3-Clause