runghc(1) debian man page | unix.com

Man Page: runghc

Operating Environment: debian

Section: 1

RUNGHC(1)						      General Commands Manual							 RUNGHC(1)

NAME
runghc - program to run Haskell programs without first having to compile them.
SYNOPSIS
runghc [runghc|flags] [GHC|flags] module [program|flags]...
DESCRIPTION
runghc is considered a non-interactive interpreter and part of The Glasgow Haskell Compiler. runghc is a compiler that automatically runs its results at the end.
OPTIONS
the flags are: -f it tells runghc which GHC to use to run the program. If it is not given then runghc will search for GHC in the directories in the system search path. runghc -f /path/to/ghc -- runghc will try to work out where the boundaries between [runghc flags] and [GHC flags], and [GHC flags] and module are, but you can use a -- flag if it doesn't get it right. For example, runghc -- -fglasgow-exts Foo means runghc won't try to use glasgow-exts as the path to GHC, but instead will pass the flag to GHC.
EXAMPLES
runghc foo runghc -f /path/to/ghc foo runghc -- -fglasgow-exts Foo
SEE ALSO
ghc(1), ghci(1).
COPYRIGHT
Copyright 2002, The University Court of the University of Glasgow. All rights reserved.
AUTHOR
This manual page was written by Efrain Valles Pulgar <effie.jayx@gmail.com>. This is free documentation; see the GNU General Public Licence version 2 or later for copying conditions. There is NO WARRANTY. 28 NOVEMBER 2007 RUNGHC(1)
Related Man Pages
alex(1) - debian
ghc-pkg(1) - debian
ghc(1) - debian
iverilog-vpi(1) - debian
threadscope(1) - debian
Similar Topics in the Unix Linux Community
MissingH 1.0.1.0 (Default branch)
Haskell Database Connectivity 1.1.6.0 (Default branch)
Haskell Database Connectivity 2.0.0 (Default branch)
Novell Intends to Appeal to the US Supreme Court; Asks for 90-Day Stay to File Petition for Writ of
Mandate Issues From 10th Circuit Court of Appeals Clerk