$ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.2
$ ghc -o Main Main.hs
[1 of 2] Compiling Codec.Video.MpegTS ( Codec/Video/MpegTS.hs, Codec/Video/MpegTS.o )
Codec/Video/MpegTS.hs:165:12:
The function `getWord8' is applied to two arguments,
but its type `Get Word8' has none
In a stmt of a 'do' block: tag <- getWord8 skip (l - 1)
In the expression:
do { tag <- getWord8 skip (l - 1);
return (esTag tag) }
In an equation for `decodeESDescriptor':
decodeESDescriptor l
= do { tag <- getWord8 skip (l - 1);
return (esTag tag) }
Hello, i get the following compilation error:
$ghc --version The Glorious Glasgow Haskell Compilation System, version 7.4.2
$ ghc -o Main Main.hs [1 of 2] Compiling Codec.Video.MpegTS ( Codec/Video/MpegTS.hs, Codec/Video/MpegTS.o )