RUNGHC(1)

πŸ’– RUNGHC πŸ’–

okay so bestie, welcome to runghc β€” the manual page, but make it cute. this is from the General Commands Manual, and honestly? it's giving "i just want to run my Haskell without the whole compile situation" energy. and yes, we're gonna keep every single detail. no cap. πŸ¦‹


✨ NAME ✨

runghc β€” the program that runs Haskell programs without you having to compile them first. literally just vibes and execution. πŸ’…


🌸 SYNOPSIS 🌸

runghc [runghc|flags] [GHC|flags] module [program|flags]...

πŸŽ€ DESCRIPTION πŸŽ€

so runghc is considered a non-interactive interpreter and it's part of The Glasgow Haskell Compiler. and here's the iconic part: runghc is a compiler that automatically runs its results at the end. like it does the work AND serves the look. main character behaviour fr fr. πŸ‘‘


πŸ’… OPTIONS πŸ’…

the flags are, bestie:

  • -f β€” this one tells runghc which GHC to use to run the program. if it's not given, then runghc will search for GHC in the directories in the system search path. so like:
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 sometimes it just doesn't get it right, so you can use a -- flag to help a girl out. 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. periodt. 🫢


🌈 EXAMPLES 🌈

look at her go:

runghc foo
runghc -f /path/to/ghc foo
runghc -- -fglasgow-exts Foo

three little baddies. ate and left no crumbs. πŸ“


πŸ”₯ SEE ALSO πŸ”₯

(the sibling duo, iykyk)


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. 😭 like, none. zero. nada. protect yourself bestie.

and that's the whole page, diva. this lil manual page is from 28 NOVEMBER 2007 and it's the RUNGHC(1) page from the General Commands Manual. iconic then, iconic now. go run some Haskell, you absolute legend. βœ¨πŸ§šπŸ’–

πŸ“¦ where this page comes from