hs-socks icon indicating copy to clipboard operation
hs-socks copied to clipboard

Compilation error when using GHC 8.8.1

Open Abbath opened this issue 6 years ago • 2 comments

[1 of 7] Compiling Network.Socks5.Parse ( Network/Socks5/Parse.hs, dist/build/Network/Socks5/Parse.o )

Network/Socks5/Parse.hs:74:5: error:
    ‘fail’ is not a (visible) method of class ‘Monad’
   |
74 |     fail errorMsg = Parser $ \buf err _ -> err buf ("failed: " ++ errorMsg)
   |     ^^^^

Abbath avatar Aug 28 '19 09:08 Abbath

I think this patch fixes it (used in nixpkgs).

luc-tielen avatar Sep 16 '19 14:09 luc-tielen

#26 should fix this.

sjakobi avatar Sep 29 '19 21:09 sjakobi