@@ -54,14 +54,13 @@ import Data.ArrayBuffer.Types (ArrayView, kind ArrayViewType, ArrayBuffer, ByteO
54
54
import Data.ArrayBuffer.ValueMapping (class BinaryValue , class BytesPerValue )
55
55
import Data.Float32 (Float32 ) as F
56
56
import Data.Function.Uncurried (Fn2 , Fn3 , mkFn2 , runFn2 , runFn3 )
57
- import Data.Maybe (Maybe (..) , fromMaybe )
57
+ import Data.Maybe (Maybe , fromMaybe )
58
58
import Data.Nullable (Nullable , notNull , null , toMaybe , toNullable )
59
59
import Data.Typelevel.Num (class Nat , toInt' )
60
60
import Data.UInt (UInt )
61
61
import Effect (Effect )
62
62
import Effect.Uncurried (EffectFn1 , EffectFn2 , EffectFn3 , EffectFn4 , mkEffectFn2 , mkEffectFn3 , runEffectFn1 , runEffectFn2 , runEffectFn3 , runEffectFn4 )
63
63
import Effect.Unsafe (unsafePerformEffect )
64
- import Partial.Unsafe (unsafePartial )
65
64
import Prelude (Unit , flip , pure , (&&), (*), (*>), (-), (<$>), (<<<), (<=), (>=))
66
65
import Type.Proxy (Proxy (..))
67
66
@@ -80,6 +79,7 @@ foreign import byteLength :: forall a. ArrayView a -> ByteLength
80
79
81
80
foreign import lengthImpl :: forall a . ArrayView a -> Length
82
81
82
+ -- | Represents the number of elements in this typed array.
83
83
length :: forall a . ArrayView a -> Length
84
84
length = lengthImpl
85
85
0 commit comments