A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://docs.haskellstack.org/en/stable/commands/ghc_command/ below:

ghc - Stack

The stack ghc commandΒΆ
stack ghc [-- ARGUMENT(S) (e.g. stack ghc -- X.hs -o x)]
          [--[no-]ghc-package-path] [--[no-]stack-exe] [--package PACKAGE]
          [--rts-options RTSFLAG] [--cwd DIR]

stack ghc has the same effect as, and is provided as a shorthand for, stack exec ghc, with the exception of the --package option.

Pass the option --package <package(s)> to add the initial GHC argument -package-id=<unit_id>, where <unit_id> is the unit ID of the specified package in the installed package database. The option can be a list of package names or package identifiers separated by spaces. The option can also be specified multiple times. The approach taken to these packages is the same as if they were specified as targets to stack build.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4