
8 Oct
2002
8 Oct
'02
7:26 a.m.
| Definitely not worthwhile? Should I be using "-package-name foo" when | compiling for my package foo? Yes, you definitely should do that. That's how GHC knows what package the module is a part ot. | >Packages are the unit of distribution, and the unit of | >library archive, in GHC. | >If you import a module Foo, GHC has to figure out which libBaz.a to | >link. | | I assumed that GHC linked to all libraries mentioned in all those | packages specified with "-package". Ah, it's the -package flag we are planning to get rid of! Simon
8260
Age (days ago)
8260
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Peyton-Jones