Ticket #2153 (closed bug: wontfix)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: SamB Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.8.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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

Changed 4 years ago 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

Changed 4 years ago by simonmar

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

Changed 4 years ago by SamB

Wow, that simple???

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

Changed 4 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.