Forrest logo
back to context overview

ghci

List of commands for ghci:

  • ghci:tldr:1f7bb ghci: Start a REPL and enable some level of compiler warnings (e.g. `all` or `compact`).
    $ ghci -W${warning_level}
    try on your machine
    explain this command
  • ghci:tldr:257a4 ghci: Start a REPL and enable a language option.
    $ ghci -X${language_option}
    try on your machine
    explain this command
  • ghci:tldr:6ac89 ghci: Start a REPL and load the specified Haskell source file.
    $ ghci ${source_file-hs}
    try on your machine
    explain this command
  • ghci:tldr:ad9d7 ghci: Start a REPL with a colon-separated list of directories for finding source files.
    $ ghci -i${path-to-directory1}:${path-to-directory2}
    try on your machine
    explain this command
back to context overview