ghc
Verified for current stable LTS
Ghc Commands
Ghc command syntax with verified terminal examples.
Commands
6 commands for Ghc
ghc Operations
Ghc Command: Compile A Single File
ghc <path/to/file.hs> ghc Operations
Ghc Command: Compile With Extra Optimization
ghc -O <path/to/file.hs> ghc Operations
Ghc Command: Evaluate Single Expression
ghc -e <expression> ghc Operations
Ghc Command: Find And Compile All Modules In Current Directory
ghc Main ghc Archive
Ghc Command: Start Repl Interactive Shell
ghci ghc Operations
Ghc Command: Stop Compilation After Generating Object Files
ghc -c <path/to/file.hs> Suggest a Ghc Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Ghc workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.