Skip to content

Instantly share code, notes, and snippets.

@omasanori
Created May 11, 2014 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omasanori/a290e735b73b83d4d964 to your computer and use it in GitHub Desktop.
Save omasanori/a290e735b73b83d4d964 to your computer and use it in GitHub Desktop.
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
[1 of 1] Compiling Main ( dist/setup/setup.hs, dist/setup/Main.o )
Linking ./dist/setup/setup ...
Configuring purescript-0.5.1...
Building purescript-0.5.1...
Preprocessing library purescript-0.5.1...
[ 1 of 52] Compiling Language.PureScript.Parser.State ( src/Language/PureScript/Parser/State.hs, dist/build/Language/PureScript/Parser/State.o )
[ 2 of 52] Compiling Language.PureScript.CodeGen.Monad ( src/Language/PureScript/CodeGen/Monad.hs, dist/build/Language/PureScript/CodeGen/Monad.o )
[ 3 of 52] Compiling Language.PureScript.Traversals ( src/Language/PureScript/Traversals.hs, dist/build/Language/PureScript/Traversals.o )
[ 4 of 52] Compiling Language.PureScript.CodeGen.JS.AST ( src/Language/PureScript/CodeGen/JS/AST.hs, dist/build/Language/PureScript/CodeGen/JS/AST.o )
[ 5 of 52] Compiling Language.PureScript.Optimizer.Common ( src/Language/PureScript/Optimizer/Common.hs, dist/build/Language/PureScript/Optimizer/Common.o )
[ 6 of 52] Compiling Language.PureScript.Optimizer.Unused ( src/Language/PureScript/Optimizer/Unused.hs, dist/build/Language/PureScript/Optimizer/Unused.o )
[ 7 of 52] Compiling Language.PureScript.Optimizer.Blocks ( src/Language/PureScript/Optimizer/Blocks.hs, dist/build/Language/PureScript/Optimizer/Blocks.o )
[ 8 of 52] Compiling Language.PureScript.Constants ( src/Language/PureScript/Constants.hs, dist/build/Language/PureScript/Constants.o )
[ 9 of 52] Compiling Language.PureScript.Options ( src/Language/PureScript/Options.hs, dist/build/Language/PureScript/Options.o )
[10 of 52] Compiling Language.PureScript.Optimizer.TCO ( src/Language/PureScript/Optimizer/TCO.hs, dist/build/Language/PureScript/Optimizer/TCO.o )
[11 of 52] Compiling Language.PureScript.Names ( src/Language/PureScript/Names.hs, dist/build/Language/PureScript/Names.o )
[12 of 52] Compiling Language.PureScript.CodeGen.Common ( src/Language/PureScript/CodeGen/Common.hs, dist/build/Language/PureScript/CodeGen/Common.o )
[13 of 52] Compiling Language.PureScript.Optimizer.MagicDo ( src/Language/PureScript/Optimizer/MagicDo.hs, dist/build/Language/PureScript/Optimizer/MagicDo.o )
[14 of 52] Compiling Language.PureScript.Optimizer.Inliner ( src/Language/PureScript/Optimizer/Inliner.hs, dist/build/Language/PureScript/Optimizer/Inliner.o )
[15 of 52] Compiling Language.PureScript.Optimizer ( src/Language/PureScript/Optimizer.hs, dist/build/Language/PureScript/Optimizer.o )
[16 of 52] Compiling Language.PureScript.Parser.Common ( src/Language/PureScript/Parser/Common.hs, dist/build/Language/PureScript/Parser/Common.o )
[17 of 52] Compiling Language.PureScript.Pretty.Common ( src/Language/PureScript/Pretty/Common.hs, dist/build/Language/PureScript/Pretty/Common.o )
[18 of 52] Compiling Language.PureScript.Kinds ( src/Language/PureScript/Kinds.hs, dist/build/Language/PureScript/Kinds.o )
[19 of 52] Compiling Language.PureScript.Parser.Kinds ( src/Language/PureScript/Parser/Kinds.hs, dist/build/Language/PureScript/Parser/Kinds.o )
[20 of 52] Compiling Language.PureScript.Pretty.Kinds ( src/Language/PureScript/Pretty/Kinds.hs, dist/build/Language/PureScript/Pretty/Kinds.o )
[21 of 52] Compiling Language.PureScript.Types ( src/Language/PureScript/Types.hs, dist/build/Language/PureScript/Types.o )
[22 of 52] Compiling Language.PureScript.TypeClassDictionaries ( src/Language/PureScript/TypeClassDictionaries.hs, dist/build/Language/PureScript/TypeClassDictionaries.o )
[23 of 52] Compiling Language.PureScript.Environment ( src/Language/PureScript/Environment.hs, dist/build/Language/PureScript/Environment.o )
[24 of 52] Compiling Language.PureScript.Declarations ( src/Language/PureScript/Declarations.hs, dist/build/Language/PureScript/Declarations.o )
[25 of 52] Compiling Language.PureScript.ModuleDependencies ( src/Language/PureScript/ModuleDependencies.hs, dist/build/Language/PureScript/ModuleDependencies.o )
[26 of 52] Compiling Language.PureScript.DeadCodeElimination ( src/Language/PureScript/DeadCodeElimination.hs, dist/build/Language/PureScript/DeadCodeElimination.o )
[27 of 52] Compiling Language.PureScript.Scope ( src/Language/PureScript/Scope.hs, dist/build/Language/PureScript/Scope.o )
[28 of 52] Compiling Language.PureScript.CodeGen.JS ( src/Language/PureScript/CodeGen/JS.hs, dist/build/Language/PureScript/CodeGen/JS.o )
[29 of 52] Compiling Language.PureScript.Pretty.JS ( src/Language/PureScript/Pretty/JS.hs, dist/build/Language/PureScript/Pretty/JS.o )
[30 of 52] Compiling Language.PureScript.Pretty.Types ( src/Language/PureScript/Pretty/Types.hs, dist/build/Language/PureScript/Pretty/Types.o )
[31 of 52] Compiling Language.PureScript.Pretty.Values ( src/Language/PureScript/Pretty/Values.hs, dist/build/Language/PureScript/Pretty/Values.o )
[32 of 52] Compiling Language.PureScript.Pretty ( src/Language/PureScript/Pretty.hs, dist/build/Language/PureScript/Pretty.o )
[33 of 52] Compiling Language.PureScript.Errors ( src/Language/PureScript/Errors.hs, dist/build/Language/PureScript/Errors.o )
[34 of 52] Compiling Language.PureScript.Sugar.Operators ( src/Language/PureScript/Sugar/Operators.hs, dist/build/Language/PureScript/Sugar/Operators.o )
[35 of 52] Compiling Language.PureScript.Sugar.DoNotation ( src/Language/PureScript/Sugar/DoNotation.hs, dist/build/Language/PureScript/Sugar/DoNotation.o )
[36 of 52] Compiling Language.PureScript.Sugar.CaseDeclarations ( src/Language/PureScript/Sugar/CaseDeclarations.hs, dist/build/Language/PureScript/Sugar/CaseDeclarations.o )
[37 of 52] Compiling Language.PureScript.Sugar.TypeDeclarations ( src/Language/PureScript/Sugar/TypeDeclarations.hs, dist/build/Language/PureScript/Sugar/TypeDeclarations.o )
[38 of 52] Compiling Language.PureScript.Sugar.BindingGroups ( src/Language/PureScript/Sugar/BindingGroups.hs, dist/build/Language/PureScript/Sugar/BindingGroups.o )
[39 of 52] Compiling Language.PureScript.Sugar.TypeClasses ( src/Language/PureScript/Sugar/TypeClasses.hs, dist/build/Language/PureScript/Sugar/TypeClasses.o )
[40 of 52] Compiling Language.PureScript.Sugar.Names ( src/Language/PureScript/Sugar/Names.hs, dist/build/Language/PureScript/Sugar/Names.o )
[41 of 52] Compiling Language.PureScript.Sugar ( src/Language/PureScript/Sugar.hs, dist/build/Language/PureScript/Sugar.o )
[42 of 52] Compiling Language.PureScript.CodeGen.Externs ( src/Language/PureScript/CodeGen/Externs.hs, dist/build/Language/PureScript/CodeGen/Externs.o )
[43 of 52] Compiling Language.PureScript.CodeGen ( src/Language/PureScript/CodeGen.hs, dist/build/Language/PureScript/CodeGen.o )
[44 of 52] Compiling Language.PureScript.Parser.Types ( src/Language/PureScript/Parser/Types.hs, dist/build/Language/PureScript/Parser/Types.o )
[45 of 52] Compiling Language.PureScript.Parser.Declarations ( src/Language/PureScript/Parser/Declarations.hs, dist/build/Language/PureScript/Parser/Declarations.o )
[46 of 52] Compiling Language.PureScript.Parser ( src/Language/PureScript/Parser.hs, dist/build/Language/PureScript/Parser.o )
[47 of 52] Compiling Language.PureScript.TypeChecker.Monad ( src/Language/PureScript/TypeChecker/Monad.hs, dist/build/Language/PureScript/TypeChecker/Monad.o )
[48 of 52] Compiling Language.PureScript.TypeChecker.Kinds ( src/Language/PureScript/TypeChecker/Kinds.hs, dist/build/Language/PureScript/TypeChecker/Kinds.o )
[49 of 52] Compiling Language.PureScript.TypeChecker.Synonyms ( src/Language/PureScript/TypeChecker/Synonyms.hs, dist/build/Language/PureScript/TypeChecker/Synonyms.o )
[50 of 52] Compiling Language.PureScript.TypeChecker.Types ( src/Language/PureScript/TypeChecker/Types.hs, dist/build/Language/PureScript/TypeChecker/Types.o )
[51 of 52] Compiling Language.PureScript.TypeChecker ( src/Language/PureScript/TypeChecker.hs, dist/build/Language/PureScript/TypeChecker.o )
[52 of 52] Compiling Language.PureScript ( src/Language/PureScript.hs, dist/build/Language/PureScript.o )
In-place registering purescript-0.5.1...
Preprocessing executable 'psc' for purescript-0.5.1...
[1 of 2] Compiling Paths_purescript ( dist/build/autogen/Paths_purescript.hs, dist/build/psc/psc-tmp/Paths_purescript.o )
[2 of 2] Compiling Main ( psc/Main.hs, dist/build/psc/psc-tmp/Main.o )
Linking dist/build/psc/psc ...
Preprocessing executable 'psc-make' for purescript-0.5.1...
[1 of 2] Compiling Paths_purescript ( dist/build/autogen/Paths_purescript.hs, dist/build/psc-make/psc-make-tmp/Paths_purescript.o )
[2 of 2] Compiling Main ( psc-make/Main.hs, dist/build/psc-make/psc-make-tmp/Main.o )
Linking dist/build/psc-make/psc-make ...
Preprocessing executable 'psci' for purescript-0.5.1...
[1 of 4] Compiling Paths_purescript ( dist/build/autogen/Paths_purescript.hs, dist/build/psci/psci-tmp/Paths_purescript.o )
[2 of 4] Compiling Commands ( psci/Commands.hs, dist/build/psci/psci-tmp/Commands.o )
[3 of 4] Compiling Parser ( psci/Parser.hs, dist/build/psci/psci-tmp/Parser.o )
[4 of 4] Compiling Main ( psci/Main.hs, dist/build/psci/psci-tmp/Main.o )
psci/Main.hs:313:68:
No instance for (MonadException (StateT PSCiState IO))
arising from a use of `getInputLine'
Possible fix:
add an instance declaration for
(MonadException (StateT PSCiState IO))
In the second argument of `(=<<)', namely `getInputLine " "'
In the expression:
maybe (return . unlines $ reverse ls) (go . (: ls))
=<< getInputLine " "
In an equation for `go':
go ls
= maybe (return . unlines $ reverse ls) (go . (: ls))
=<< getInputLine " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment