You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/wavy/files/wavy-0.1.0.0-ghc-8.8.patch

12 lines
519 B

--- a/Sound/Wav/ChannelData.hs
+++ b/Sound/Wav/ChannelData.hs
@@ -111,7 +111,7 @@ wordPutter 1 = putInt8 . zeroStable (0 :: Int8)
wordPutter 2 = putInt16le . zeroStable (0 :: Int16)
wordPutter 3 = putInt32le . zeroStable (0 :: Int32)
wordPutter 4 = putInt64le
-wordPutter x = \_ -> fail $ "The is no word putter for byte size " ++ show x
+wordPutter x = \_ -> error $ "The is no word putter for byte size " ++ show x
wordGetter :: (Num a, Show a, Eq a) => a -> Get Int64
wordGetter 1 = fmap zeroStable64 getInt8