File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -752,9 +752,14 @@ Executable program2
752
752
(required)
753
753
</term >
754
754
<listitem >
755
- <para >The name of the source file containing the
756
- <literal >Main</literal > module, relative to one of the
757
- directories listed in <literal >hs-source-dirs</literal >.</para >
755
+ <para >The name of the <filename >.hs</filename > or
756
+ <filename >.lhs</filename > file containing the
757
+ <literal >Main</literal > module. Note that it is the
758
+ <filename >.hs</filename > filename that must be listed, even if
759
+ that file is generated using a preprocessor. The source
760
+ file must be relative to one of the directories listed in
761
+ <literal >hs-source-dirs</literal >.
762
+ </para >
758
763
</listitem >
759
764
</varlistentry >
760
765
<varlistentry >
You can’t perform that action at this time.
0 commit comments