-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
MediaWiki/Util/Fetch.hs:28:8:
Could not find module ‘Network.URI’
It is a member of the hidden package ‘network-uri-2.6.0.1’.
Perhaps you need to add ‘network-uri’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
ghc version: ghc-7.8.3-2
Cabal version: 1.20.0.3-2
OS: Linux
network-uri should be added to build-deps
When that's done I get these errors:
MediaWiki/API.hs:58:40:
Couldn't match type ‘text-1.1.1.3:Data.Text.Internal.Text’
with ‘[Char]’
Expected type: String
Actual type: text-1.1.1.3:Data.Text.Internal.Text
In the expression: showMIMEType form_mime_ty
In the expression: ("Content-Type", showMIMEType form_mime_ty)
MediaWiki/API.hs:64:30:
Couldn't match type ‘[Char]’
with ‘text-1.1.1.3:Data.Text.Internal.Text’
Expected type: SubType
Actual type: [Char]
In the first argument of ‘Application’, namely
‘"x-www-form-urlencoded"’
In the expression: Application "x-www-form-urlencoded"
In an equation for ‘form_mime_ty’:
form_mime_ty = Application "x-www-form-urlencoded"
I got these on both Windows and Linux.
Metadata
Metadata
Assignees
Labels
No labels