da-ghci always tries to build the target before opening GHCi
See original GitHub issueIt looks like the new da-ghci
always tries to build the target if runfiles are enabled before it loads it in GHCi. This makes sense for damlc
which has a bootstrapping process that actually causes it to depend on itself but it seems to happen for all targets even if they do not have any runfiles declared, e.g. da-ghci //daml-assistant:daml
.
As a workaround you can use da-ghci --data no //daml-assistant:daml
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
3. Using GHCi — Glasgow Haskell Compiler 9.4.3 User's Guide
To always compile everything to object code and never use the interpreter, use the -fobject-code option (see Compiling to object code inside GHCi)....
Read more >The stack ghci and stack repl commands
The stack ghci or stack repl commands, which are equivalent, allow you to load components and files of your project into GHCi. The...
Read more >Haskell Mode 16.1-git: Interactive Haskell - GitHub Pages
Run C-` to make a REPL open, this will create a session, start GHCi, and open the ... This will first try to...
Read more >Lesson 1. Getting started with Haskell - liveBook · Manning
This book indicates when you're using GHCi by using GHCi> for lines you input and a blank for lines that are output by...
Read more >Error loading function from file in GHCi - Stack Overflow
The simplest way to get ghci to find your file is to make sure you start ghci ... When you get that working,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d prefer a consistent default that applies to all targets.
I just tested the latest master and it works perfectly! Thanks @aherrmann-da