Ticket #2153 (closed bug: wontfix)

Opened 7 months ago

Last modified 2 weeks ago

GHCi does not have a :source command to load further .ghci files

Reported by: SamB Assigned to:
Priority: normal Milestone:
Component: GHCi Version: 6.8.2
Severity: normal Keywords:
Cc: Difficulty: Unknown
Test Case: Architecture: Unknown/Multiple
Operating System: Unknown/Multiple

Description

This makes it difficult to put useful GHCi commands under version control (in such a way that they can be used) without having everyone share a common .ghci file for a project. For example, see http://comments.gmane.org/gmane.comp.lang.haskell.jhc/101

Change History

03/13/08 15:31:16 changed by claus

:def source readFile

put that in your .ghci, and you're ready to go (check the ghci user guide on :def, :cmd, etc.). you might also find this interesting:

getting more out of ghci

03/14/08 09:26:06 changed by simonmar

  • status changed from new to closed.
  • difficulty set to Unknown.
  • resolution set to wontfix.

04/06/08 18:45:40 changed by SamB

Wow, that simple???

What needs to be done to get this in ":?" output? (It should be in the manual, at least...)

09/30/08 08:40:34 changed by simonmar

  • architecture changed from Unknown to Unknown/Multiple.

09/30/08 08:51:44 changed by simonmar

  • os changed from Unknown to Unknown/Multiple.