Advertisement
Guest User

Untitled

a guest
Apr 25th, 2022
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. Stream.hs:9:5-13: error: …
  2. • Couldn't match expected type ‘streaming-0.2.3.1:Data.Functor.Of.Of
  3. Int ()’
  4. with actual type ‘Of Int ()’
  5. NB: ‘Of’
  6. is defined in ‘Data.Functor.Of’ in package ‘streaming-0.2.3.1’
  7. ‘streaming-0.2.3.1:Data.Functor.Of.Of’
  8. is defined in ‘Data.Functor.Of’ in package ‘streaming-0.2.3.1’
  9. • In the pattern: len :> ()
  10. In a stmt of a 'do' block:
  11. (len :> ()) <- BS.readFile fIn & BS.copy & BS.length
  12. & BS.writeFile fOut
  13. In the second argument of ‘($)’, namely
  14. ‘do (len :> ()) <- BS.readFile fIn & BS.copy & BS.length
  15. & BS.writeFile fOut
  16. pure $ len’
  17. |
  18. Compilation failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement