X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fseparate_compilation.xml;h=934deb17e4d267d9a950c0fb9741d4f2e205b679;hb=a7462cb6951c8e4c970ddb97a6238d1004b24ce4;hp=076af6e81c94fa24c02ba73fccbbd93800e1c0a6;hpb=501281032723cfb1e6e324921c6c3e47b03730ab;p=ghc-hetmet.git diff --git a/docs/users_guide/separate_compilation.xml b/docs/users_guide/separate_compilation.xml index 076af6e..934deb1 100644 --- a/docs/users_guide/separate_compilation.xml +++ b/docs/users_guide/separate_compilation.xml @@ -114,7 +114,9 @@ has been specified, then the object filename is dir/mod.osuf, where mod is the module name with - dots replaced by slashes. + dots replaced by slashes. GHC will silently create the necessary directory + structure underneath dir, if it does not + already exist. @@ -810,7 +812,7 @@ can be given abstractly, by omitting the '=' sign and everything that follows. it out precisely as in its real definition. If you do not write out the constructors, you may need to give a kind - annotation (), to tell + annotation (), to tell GHC the kind of the type variable, if it is not "*". (In source files, this is worked out from the way the type variable is used in the constructors.) For example: @@ -913,11 +915,11 @@ Foo.o Foo.hc Foo.s : Baz.hi # Foo imports Baz make looks for a rule to do so; one of the preceding suffix rules does the job nicely. These dependencies can be generated automatically by ghc; see - + - + Dependency generation dependencies in Makefiles Makefile dependencies @@ -1098,6 +1100,7 @@ ghc -M -optdep-f -optdep.depend ... +