on master help sign in
Remove this dependency.
commitff858ec38ea5795be1d697e0151526b34f568bcd authorNick <nick@typeable.io> dateWed 7 Dec 2022, 10:21 (4 years ago) parenta82837c
3 files changed+2−7
digit.cabal−1 src/Data/Digit.hs+1−1 stack.yaml+1−5
digit.cabal−1
@@ -12,7 +12,6 @@ library
1212 build-depends: base
1313 , QuickCheck
1414 , lens
15− , missing-lens
1615 , regex-applicative
1716 , text
1817 default-language: Haskell2010
src/Data/Digit.hs+1−1
@@ -23,7 +23,6 @@ module Data.Digit
2323 ) where
2424
2525import Control.Lens
26−import Control.Lens.Missing
2726import Data.Foldable as F
2827import Data.List as L
2928import Data.List.NonEmpty as NE
@@ -117,6 +116,7 @@ _Digits = below _Digit
117116
118117_DigitsText :: Prism' Text (NE.NonEmpty Digit)
119118_DigitsText = from packed . _Digits . _NonEmptyList
119+ where _NonEmptyList = prism' NE.toList NE.nonEmpty
120120
121121_DigitsInt :: Integral n => Prism' n NormalDigits
122122_DigitsInt = prism' (digitsToNum . unDigits) positiveIntToDigits
stack.yaml+1−5
@@ -1,8 +1,4 @@
1−resolver: lts-19.0
1+resolver: lts-20.3
22
33packages:
44- .
5−
6−extra-deps:
7−- git: https://github.com/typeable/missing-lens.git
8− commit: 328659fdda8fd7ec509abfab6298775062fc2926