When trying to compile servant-purescript with lts-13, I get:
-- While building package servant-purescript-0.9.0.2 using:
/home/gueux/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/gueux/src/hoarder/.stack-work/logs/servant-purescript-0.9.0.2.log
Configuring servant-purescript-0.9.0.2...
Preprocessing library for servant-purescript-0.9.0.2..
Building library for servant-purescript-0.9.0.2..
[1 of 6] Compiling Servant.API.BrowserHeader ( src/Servant/API/BrowserHeader.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/build/Servant/API/BrowserHeader.o )
/tmp/stack7733/servant-purescript-0.9.0.2/src/Servant/API/BrowserHeader.hs:28:10: error:
• Number of parameters must match family declaration; expected 2
• In the type instance declaration for ‘MkLink’
In the instance declaration for
‘HasLink (BrowserHeader sym a :> sub)’
|
28 | type MkLink (BrowserHeader sym a :> sub) = MkLink (Header sym a :> sub)
| ^^^^^^
When trying to compile servant-purescript with lts-13, I get: