Skip to content

sjakobi/stack-repl-mixin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack-repl-mixin

This is a reproducer for commercialhaskell/stack#5077.

To reproduce the issue, use

$ stack repl non-base-prelude
...
/home/simon/src/serokell/stack-repl-mixin/non-base-prelude/src/Lib.hs:1:8: error:
    Ambiguous module name ‘Prelude’:
      it was found in multiple packages:
      base-4.13.0.0 morley-prelude-0.3.0
  |
1 | module Lib where
  |        ^^^
Failed, no modules loaded.
...

or

$ stack repl relude-as-prelude
...
/home/simon/src/serokell/stack-repl-mixin/relude-as-prelude/src/Lib.hs:3:6: error:
    Not in scope: type constructor or class ‘Text’
  |
3 | t :: Text
  |      ^^^^
Failed, no modules loaded.
...

About

Reproducer for stack issue #5077

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published