Remove Data.NP

Data.Vect.Quantifiers.All is entirely equivalent.
This commit is contained in:
Kiana Sheibani 2024-03-01 18:56:27 -05:00
parent 4e3c524b08
commit 741e389496
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
10 changed files with 16 additions and 57 deletions

View file

@ -3,7 +3,6 @@ module Data.NumIdr.Array.Array
import Data.List
import Data.Vect
import Data.Zippable
import Data.NP
import Data.Permutation
import Data.NumIdr.Interfaces
import Data.NumIdr.PrimArray
@ -411,7 +410,7 @@ resize s' def arr = fromFunction {rep=getRep arr} @{getRepC arr} s' (fromMaybe d
export
-- HACK: Come up with a solution that doesn't use `believe_me` or trip over some
-- weird bug in the type-checker
resizeLTE : (s' : Vect rk Nat) -> (0 ok : NP Prelude.id (zipWith LTE s' s)) =>
resizeLTE : (s' : Vect rk Nat) -> (0 ok : All Prelude.id (zipWith LTE s' s)) =>
Array {rk} s a -> Array s' a
resizeLTE s' arr = resize s' (believe_me ()) arr