[1 of 3] Compiling Network.URI ( Network/URI.hs, dist/build/Network/URI.o, dist/build/Network/URI.dyn_o )
Network/URI.hs:10:14: warning: [-Wtrustworthy-safe]
‘Network.URI’ is marked as Trustworthy but has been inferred as safe!
|
10 | {-# LANGUAGE Trustworthy #-}
| ^^^^^^^^^^^
[2 of 3] Compiling Network.URI.Lens ( Network/URI/Lens.hs, dist/build/Network/URI/Lens.o, dist/build/Network/URI/Lens.dyn_o )
Network/URI/Lens.hs:20:1: warning: [-Wunused-imports]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
20 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[3 of 3] Compiling Network.URI.Static ( Network/URI/Static.hs, dist/build/Network/URI/Static.o, dist/build/Network/URI/Static.dyn_o )
Network/URI/Static.hs:59:34: error:
• Couldn't match type: Language.Haskell.TH.Syntax.Code m1 URI
with: Language.Haskell.TH.Syntax.Q
(Language.Haskell.TH.Syntax.TExp URI)
Expected: TExpQ URI
Actual: Language.Haskell.TH.Syntax.Code m1 URI
• In the Template Haskell quotation [|| u ||]
In the expression: [|| u ||]
In an equation for ‘staticURI’:
staticURI (parseURI -> Just u) = [|| u ||]
|
59 | staticURI (parseURI -> Just u) = [|| u ||]
| ^^^^^^^^^
Network/URI/Static.hs:112:64: error:
• Couldn't match type: Language.Haskell.TH.Syntax.Code m0 URI
with: Language.Haskell.TH.Syntax.Q
(Language.Haskell.TH.Syntax.TExp URI)
Expected: TExpQ URI
Actual: Language.Haskell.TH.Syntax.Code m0 URI
• In the Template Haskell quotation [|| ref ||]
In the expression: [|| ref ||]
In an equation for ‘staticRelativeReference’:
staticRelativeReference (parseRelativeReference -> Just ref)
= [|| ref ||]
|
112 | staticRelativeReference (parseRelativeReference -> Just ref) = [|| ref ||]
| ^^^^^^^^^^^