DanBurton / modular-prelude

A new prelude with first-class modules
10 stars 0 forks source link

modular-prelude-0.3.0.0 does not compile #13

Open peti opened 9 years ago

peti commented 9 years ago

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 commented 9 years ago

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 notifications@github.com 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 https://github.com/DanBurton/modular-prelude/issues/13.

-- Dan Burton