Remove this dependency.

This commit is contained in:
Nick 2022-12-07 10:21:20 +00:00
parent a82837cff6
commit ff858ec38e
3 changed files with 2 additions and 7 deletions

View File

@ -12,7 +12,6 @@ library
build-depends: base
, QuickCheck
, lens
, missing-lens
, regex-applicative
, text
default-language: Haskell2010

View File

@ -23,7 +23,6 @@ module Data.Digit
) where
import Control.Lens
import Control.Lens.Missing
import Data.Foldable as F
import Data.List as L
import Data.List.NonEmpty as NE
@ -117,6 +116,7 @@ _Digits = below _Digit
_DigitsText :: Prism' Text (NE.NonEmpty Digit)
_DigitsText = from packed . _Digits . _NonEmptyList
where _NonEmptyList = prism' NE.toList NE.nonEmpty
_DigitsInt :: Integral n => Prism' n NormalDigits
_DigitsInt = prism' (digitsToNum . unDigits) positiveIntToDigits

View File

@ -1,8 +1,4 @@
resolver: lts-19.0
resolver: lts-20.3
packages:
- .
extra-deps:
- git: https://github.com/typeable/missing-lens.git
commit: 328659fdda8fd7ec509abfab6298775062fc2926