Safe Haskell | None |
---|---|
Language | Haskell2010 |
Dubious utilities for Vector
- castedLength :: forall a b proxy. (Storable a, Storable b) => proxy a -> Vector b -> Int
Documentation
castedLength :: forall a b proxy. (Storable a, Storable b) => proxy a -> Vector b -> Int Source #
Calculate the number of elements that would fit into the given Vector
if it were unsafeCast
ed to a vector of elements defined by the first argument.