ghc-plugin-non-empty
ghc-plugin-non-empty copied to clipboard
🧬 GHC Plugin for compile-time transformation of list literals to NonEmpty list
Another popular use case where using ordinary lists is easier than `NonEmpty` if arithmetic sequences like `[1 .. 10]`. Adding support for them would be much appreciated! I anticipate quite...
Bumps [haskell/actions](https://github.com/haskell/actions) from 2.0 to 2.3. Release notes Sourced from haskell/actions's releases. v2.3.0 Fix #29: new input cabal-update: false to skip 'cabal update' (#146) This version introduces a new boolean...
Currently, declarations such as: ```haskell nonEmptyListIntConcat :: NonEmpty Int nonEmptyListIntConcat = [1] ++ [] ``` ...fail even though the list is not really empty. The trick part is going to...