"show" is able to type cast a ByteArray without the additional
specification in Prelude.scl. Show is unable to be used on ByteArrays if
Prelude.scl contains an implementation for it, as "show" cannot
determine which implementation to use: the general, or the ByteArray
specific. Thus, ByteArray has been removed from Prelude.
getTuples returns a list of tuples that can be of any format: they do
not necessarily have to all be the same. As a result, [a] specification
doesn't correctly reflect the data that can be fetched with getTuples,
but [Dynamic] does.
refs #7830
refs #7831
Change-Id: Ib9912e9479838df2c8d32c621936e8fdecef2d7b
putTuple :: CommandContextMutable -> String -> a -> CommandContextMutable
@JavaName getTuples
- getTuples :: CommandContext -> String -> [a]
+ getTuples :: CommandContext -> String -> [Dynamic]
printContext :: CommandContext -> String
isSpecialType (TApply a _) = isSpecialType a
*/
-// ByteArray
-
-importJava "java.util.Arrays" where
- @private
- @JavaName toString
- byteArrayToString :: ByteArray -> String
-
-instance Show ByteArray where
- show = byteArrayToString
-
// Type
@private