Wrap fromIntegral in parens.
@@ -42,10 +42,10 @@ GET_CONSTRUCT_CODE = {
'u16': 'getWord16le',
'u32': 'getWord32le',
'u64': 'getWord64le',
- 's8': 'fromIntegral <$> getWord8',
- 's16': 'fromIntegral <$> getWord16le',
- 's32': 'fromIntegral <$> getWord32le',
- 's64': 'fromIntegral <$> getWord64le',
+ 's8': '(fromIntegral <$> getWord8)',
+ 's16': '(fromIntegral <$> getWord16le)',
+ 's32': '(fromIntegral <$> getWord32le)',
+ 's64': '(fromIntegral <$> getWord64le)',
'float': 'getFloat32le',
'double': 'getFloat64le',
}
