Created
April 4, 2020 07:38
-
-
Save saurabhnanda/8683a81e4f807d8bee280c367ca8a565 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
streamly > /private/var/folders/j7/fgt692sj0wzg0lvrk86ctnxc0000gn/T/stack92624/streamly-0.7.1/src/Streamly/Internal/Data/Prim/Array/Types.hs:216:34: error: | |
streamly > • No instance for (Semigroup ByteArray) arising from a use of ‘<>’ | |
streamly > • In the first argument of ‘byteArrayToPrimArray’, namely | |
streamly > ‘(primArrayToByteArray x <> primArrayToByteArray y)’ | |
streamly > In the expression: | |
streamly > byteArrayToPrimArray | |
streamly > (primArrayToByteArray x <> primArrayToByteArray y) | |
streamly > In an equation for ‘<>’: | |
streamly > x <> y | |
streamly > = byteArrayToPrimArray | |
streamly > (primArrayToByteArray x <> primArrayToByteArray y) | |
streamly > | | |
streamly > 216 | x <> y = byteArrayToPrimArray (primArrayToByteArray x SG.<> primArrayToByteArray y) | |
streamly > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
streamly > | |
streamly > /private/var/folders/j7/fgt692sj0wzg0lvrk86ctnxc0000gn/T/stack92624/streamly-0.7.1/src/Streamly/Internal/Data/Prim/Array/Types.hs:217:36: error: | |
streamly > • No instance for (Semigroup ByteArray) | |
streamly > arising from a use of ‘SG.sconcat’ | |
streamly > • In the first argument of ‘(.)’, namely ‘SG.sconcat’ | |
streamly > In the second argument of ‘(.)’, namely | |
streamly > ‘SG.sconcat . fmap primArrayToByteArray’ | |
streamly > In the expression: | |
streamly > byteArrayToPrimArray . SG.sconcat . fmap primArrayToByteArray | |
streamly > | | |
streamly > 217 | sconcat = byteArrayToPrimArray . SG.sconcat . fmap primArrayToByteArray | |
streamly > | ^^^^^^^^^^ | |
streamly > | |
streamly > /private/var/folders/j7/fgt692sj0wzg0lvrk86ctnxc0000gn/T/stack92624/streamly-0.7.1/src/Streamly/Internal/Data/Prim/Array/Types.hs:218:40: error: | |
streamly > • Could not deduce (Semigroup ByteArray) | |
streamly > arising from a use of ‘SG.stimes’ | |
streamly > from the context: Integral b | |
streamly > bound by the type signature for: | |
streamly > SG.stimes :: forall b. | |
streamly > Integral b => | |
streamly > b -> PrimArray a -> PrimArray a | |
streamly > at src/Streamly/Internal/Data/Prim/Array/Types.hs:218:3-8 | |
streamly > • In the first argument of ‘byteArrayToPrimArray’, namely | |
streamly > ‘(SG.stimes i (primArrayToByteArray arr))’ | |
streamly > In the expression: | |
streamly > byteArrayToPrimArray (SG.stimes i (primArrayToByteArray arr)) | |
streamly > In an equation for ‘SG.stimes’: | |
streamly > SG.stimes i arr | |
streamly > = byteArrayToPrimArray (SG.stimes i (primArrayToByteArray arr)) | |
streamly > | | |
streamly > 218 | stimes i arr = byteArrayToPrimArray (SG.stimes i (primArrayToByteArray arr)) | |
streamly > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
streamly > | |
streamly > /private/var/folders/j7/fgt692sj0wzg0lvrk86ctnxc0000gn/T/stack92624/streamly-0.7.1/src/Streamly/Internal/Data/Prim/Array/Types.hs:227:36: error: | |
streamly > • No instance for (Monoid ByteArray) | |
streamly > arising from a use of ‘mconcat’ | |
streamly > • In the first argument of ‘(.)’, namely ‘mconcat’ | |
streamly > In the second argument of ‘(.)’, namely | |
streamly > ‘mconcat . map primArrayToByteArray’ | |
streamly > In the expression: | |
streamly > byteArrayToPrimArray . mconcat . map primArrayToByteArray | |
streamly > | | |
streamly > 227 | mconcat = byteArrayToPrimArray . mconcat . map primArrayToByteArray | |
streamly > | ^^^^^^^ | |
streamly > | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment