Skip to content

Commit 2176d73

Browse files
author
Artem M. Chirkin
committed
Added Float32/64 Typed array types
Seems like someone forgot to re-export Float32Array and Float64Array in JavaScript.TypedArray from JavaScript.TypedArray.Internal.Types. Also I would like to have (TypedArray a => JSRef -> a) interface for my WebGL things: some of the webGL methods return typed arrays of arbitrary type - https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView
1 parent 8ee0812 commit 2176d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaScript/TypedArray.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module JavaScript.TypedArray
22
( TypedArray(..)
33
, Int8Array, Int16Array, Int32Array
44
, Uint8Array, Uint16Array, Uint32Array
5-
, Uint8ClampedArray
5+
, Uint8ClampedArray, Float32Array, Float64Array
66
, length
77
, byteLength
88
, byteOffset

0 commit comments

Comments
 (0)