This is liable to change in the future.A
haskell_library()rule is used to identity a group of Haskell sources.
The short name for this build target.
A list of Haskell sources to be built by this rule.
Flags to pass to the Haskell compiler when compiling this rule's sources.
Platform specific dependencies. These should be specified as a list of pairs where the first element is an un-anchored regex (in java.util.regex.Pattern syntax) against which the platform name is matched, and the second element is a list of dependencies (same format as
deps) that are exported if the platform matches the regex. See
depsfor more information.
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_library( name = 'fileutil', srcs = [ 'FileUtil.hs', ], )