question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

da-ghci always tries to build the target before opening GHCi

See original GitHub issue

It 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:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cocreaturecommented, May 8, 2019

I’d prefer a consistent default that applies to all targets.

0reactions
ghostcommented, May 10, 2019

I just tested the latest master and it works perfectly! Thanks @aherrmann-da

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found