7

How can I clear WinGhci's (one of Haskell's Windows IDEs) command prompt and all the current "session" values?

devoured elysium
  • 101,373
  • 131
  • 340
  • 557

2 Answers2

12

You can use :load with no arguments to clear all modules and bindings. To clear the prompt simply hit ctrl + s.

Paul
  • 2,218
  • 1
  • 15
  • 18
0

For me Ctrl +L works on windows :)

sakhunzai
  • 13,900
  • 23
  • 98
  • 159
  • 2
    It works with ghci command prompt (ghci.exe), not with winghci gui (winghci.exe). Ctrl L is to load modules. – mg007 Sep 15 '11 at 09:34