This is liable to change in the future.A
haskell_binary()rule represents a groups of Haskell sources and deps which build an executable.
The name of the rule.
The main module serving as the entry point into the binary. If not specified, the compiler default is used.
A list of Haskell sources to be built by this rule.
Flags to pass to the Haskell compiler when compiling this rule's sources.
List of build target patterns that identify the build rules that can include this rule as a dependency, for example, by listing it in their
exported_depsattributes. For more information, see visibility.
haskell_binary( name = 'foo', srcs = [ 'Foo.hs', ], )