From 1d5c887ca0e6d1332c2655d73fab0dc72c53530d Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 2 Dec 2014 01:08:59 -0800 Subject: Axe one-shot sig-of Summary: We're getting rid of -sig-of foo:A usage, because it doesn't make sense in any compilation mode besides one-shot, and we don't expect users to use it anyway. Signed-off-by: Edward Z. Yang Test Plan: validate Reviewers: simonpj, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D789 --- docs/users_guide/separate_compilation.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/users_guide/separate_compilation.xml') diff --git a/docs/users_guide/separate_compilation.xml b/docs/users_guide/separate_compilation.xml index 32422caedc..07cf76c6c7 100644 --- a/docs/users_guide/separate_compilation.xml +++ b/docs/users_guide/separate_compilation.xml @@ -941,14 +941,14 @@ module A where ghc -c Text.hs -ghc -c TextSig.hsig -sig-of main:Text +ghc -c TextSig.hsig -sig-of "TextSig is main:Text" ghc -c A.hs - Signature files can also be compiled as part of - --make, in which case the syntax is extended - to support specifying implementations of multiple signatures - as FooSig is main:Foo, BarSig is main:Bar. + To specify multiple signatures, use a comma-separated list. + The -sig-of parameter is required to specify + the backing implementations of all home modules, even in one-shot + compilation mode. At the moment, you must specify the full module name (package key, colon, and then module name), although in the future we may support more user-friendly syntax. -- cgit v1.2.1