CSCE 314 Lecture 2

From Notes
Jump to navigation Jump to search

« previous | Wednesday, August 31, 2011 | next »


Topics:

GHCi Introduction

Common Commands:

:?
Help!
:l <file> or :load <file>
Load the file into the environment
:!
execute a shell prompt
:cd <dir>
change the current GHCi working directory

.ghci

Create a .ghci file in the current directory, and it will be executed every time GHCi is launched