File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 2
2
3
3
// module Show
4
4
5
- exports . showImpl = function ( a ) {
5
+ exports . showViaInspect = function showViaInspect ( a ) {
6
6
return require ( 'util' ) . inspect ( a ) ;
7
7
}
Original file line number Diff line number Diff line change 1
1
module Data.ArrayBuffer.Show where
2
2
3
- -- import Prelude
4
3
import Data.ArrayBuffer.Types (ArrayView )
5
- -- import Data.ArrayBuffer.ArrayBuffer as AB
6
- -- import Data.ArrayBuffer.DataView as DV
7
- -- import Data.ArrayBuffer.Typed as T
8
-
9
- -- instance showArrayView :: Show (ArrayView a) where
10
- -- show = showImpl
11
- --
12
- -- instance showDataView :: Show DataView where
13
- -- show = show <<< T.asInt8Array
14
- --
15
- -- instance showArrayBuffer :: Show ArrayBuffer where
16
- -- show = show <<< DV.whole
17
4
--
18
- foreign import showImpl :: forall a . ArrayView a -> String
5
+ foreign import showViaInspect :: forall a . ArrayView a -> String
You can’t perform that action at this time.
0 commit comments