Skip to content

Commit 97a49c6

Browse files
committed
rename to stay true to implementation
1 parent 53c7b23 commit 97a49c6

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

src/Data/ArrayBuffer/Show.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
// module Show
44

5-
exports.showImpl = function(a) {
5+
exports.showViaInspect = function showViaInspect (a) {
66
return require('util').inspect(a);
77
}

src/Data/ArrayBuffer/Show.purs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
module Data.ArrayBuffer.Show where
22

3-
-- import Prelude
43
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
174
--
18-
foreign import showImpl :: forall a. ArrayView a -> String
5+
foreign import showViaInspect :: forall a. ArrayView a -> String

0 commit comments

Comments
 (0)