summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-12-11 09:20:24 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-12-11 14:52:47 +0000
commitb0339aa1e298c700c849813fbd16b29c92e27055 (patch)
treea646b31e12c82e3da36aaacad628dba2d09aae01 /docs
parent31d8900dbcf87fc32ac9e3de2ea0ed2039e72ee4 (diff)
downloadhaskell-b0339aa1e298c700c849813fbd16b29c92e27055.tar.gz
document special "this" syntax for PackageImports (#7409)
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/glasgow_exts.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 6d549b88c8..825ef65c48 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -1999,6 +1999,9 @@ import "network" Network.Socket
available from multiple packages, or is present in both the
current package being built and an external package.</para>
+ <para>The special package name <literal>this</literal> can be used to
+ refer to the current package being built.</para>
+
<para>Note: you probably don't need to use this feature, it was
added mainly so that we can build backwards-compatible versions of
packages when APIs change. It can lead to fragile dependencies in