Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modular-prelude-0.3.0.0 does not compile #13

Open
peti opened this issue May 14, 2015 · 1 comment
Open

modular-prelude-0.3.0.0 does not compile #13

peti opened this issue May 14, 2015 · 1 comment

Comments

@peti
Copy link

peti commented May 14, 2015

Citing from http://hydra.cryp.to/build/837255/log/raw:

ModularPrelude/Module/ByteString.hs:54:41:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘readFile’ field of a record

ModularPrelude/Module/ByteString.hs:55:42:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘writeFile’ field of a record
[ 3 of 15] Compiling ModularPrelude.Module.LByteString ( ModularPrelude/Module/LByteString.hs, dist/build/ModularPrelude/Module/LByteString.o )

ModularPrelude/Module/LByteString.hs:54:42:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘readFile’ field of a record

ModularPrelude/Module/LByteString.hs:55:43:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘writeFile’ field of a record
[ 4 of 15] Compiling ModularPrelude.Module.Text ( ModularPrelude/Module/Text.hs, dist/build/ModularPrelude/Module/Text.o )

ModularPrelude/Module/Text.hs:55:35:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘readFile’ field of a record

ModularPrelude/Module/Text.hs:56:36:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘writeFile’ field of a record
[ 5 of 15] Compiling ModularPrelude.Module.LText ( ModularPrelude/Module/LText.hs, dist/build/ModularPrelude/Module/LText.o )

ModularPrelude/Module/LText.hs:55:36:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘readFile’ field of a record

ModularPrelude/Module/LText.hs:56:37:
    Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
    Expected type: FilePath -> FilePath
      Actual type: FilePath.FilePath -> String
    In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
    In the ‘writeFile’ field of a record
@DanBurton
Copy link
Owner

I'm surprised it has continued compiling this long. Modular prelude is
deprecated, but I'll accept pull requests and release new versions if there
are people interested in keeping it compiling.

On Thursday, May 14, 2015, Peter Simons [email protected] wrote:

Citing from http://hydra.cryp.to/build/837255/log/raw:

ModularPrelude/Module/ByteString.hs:54:41:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘readFile’ field of a record

ModularPrelude/Module/ByteString.hs:55:42:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘writeFile’ field of a record
[ 3 of 15] Compiling ModularPrelude.Module.LByteString ( ModularPrelude/Module/LByteString.hs, dist/build/ModularPrelude/Module/LByteString.o )

ModularPrelude/Module/LByteString.hs:54:42:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘readFile’ field of a record

ModularPrelude/Module/LByteString.hs:55:43:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘writeFile’ field of a record
[ 4 of 15] Compiling ModularPrelude.Module.Text ( ModularPrelude/Module/Text.hs, dist/build/ModularPrelude/Module/Text.o )

ModularPrelude/Module/Text.hs:55:35:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘readFile’ field of a record

ModularPrelude/Module/Text.hs:56:36:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘writeFile’ field of a record
[ 5 of 15] Compiling ModularPrelude.Module.LText ( ModularPrelude/Module/LText.hs, dist/build/ModularPrelude/Module/LText.o )

ModularPrelude/Module/LText.hs:55:36:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘readFile’ field of a record

ModularPrelude/Module/LText.hs:56:37:
Couldn't match type ‘FilePath.FilePath’ with ‘[Char]’
Expected type: FilePath -> FilePath
Actual type: FilePath.FilePath -> String
In the second argument of ‘(.)’, namely ‘FilePath.encodeString’
In the ‘writeFile’ field of a record


Reply to this email directly or view it on GitHub
#13.

-- Dan Burton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants