From aea8d16135ed4ad5c21f7a8edcfcb7a760a4beac Mon Sep 17 00:00:00 2001 From: sewardj Date: Wed, 4 Oct 2000 11:23:01 +0000 Subject: [PATCH] [project @ 2000-10-04 11:23:01 by sewardj] Update packages stuff to track yesterday's changes to @data Package = ...@. --- ghc/docs/users_guide/using.sgml | 51 +++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml index 0f4f049..92517b0 100644 --- a/ghc/docs/users_guide/using.sgml +++ b/ghc/docs/users_guide/using.sgml @@ -1695,35 +1695,38 @@ construction of interface files, is (allegedly) in the works. A package specification looks like this: - ("mypkg", - "4.08", - Package - { - import_dirs = ["/usr/local/lib/imports/mypkg"], - library_dirs = ["/usr/local/lib"], - hs_libraries = ["HSmypkg" ], - extra_libraries = ["HSmypkg_cbits"], - include_dirs = [], - c_includes = ["HsMyPkg.h"], - package_deps = ["text", "data"], - extra_ghc_opts = [], - extra_cc_opts = [], - extra_ld_opts = ["-lmy_clib"] - } - ) + Package { + name = "mypkg", + import_dirs = ["/usr/local/lib/imports/mypkg"], + library_dirs = ["/usr/local/lib"], + hs_libraries = ["HSmypkg" ], + extra_libraries = ["HSmypkg_cbits"], + include_dirs = [], + c_includes = ["HsMyPkg.h"], + package_deps = ["text", "data"], + extra_ghc_opts = [], + extra_cc_opts = [], + extra_ld_opts = ["-lmy_clib"] + } - The first line is the name of the package, for use with - the -package flag and as listed in the - --list-packages list. The second line is the - version of GHC that was used to compile any Haskell code in this - package (GHC will refuse to add the package if its version - number differs from this one). The rest of the components of - the package specification may be specified in any order, and - are: + Components of a package specification may be specified in + any order, and are: + name + name + package specification + + The package's name, for use with + the -package flag and as listed in the + --list-packages list. + + + + + import_dirs import_dirs package specification -- 1.7.10.4