Hugs on Mac with CW6 ? ... and Haskell Graphics Lib?

Doug Landauer landauer@apple.com
Sun, 10 Dec 2000 21:11:11 -0800


> >Hugs needs functionality equivalent to dl_open on unix.
> >>From memory and with some simplification:
> >
> >  handle dl_open(char*) loads a shared library file
> >  dl_lookup(handle,char*) looks up a name in a loaded shared library
> >  dl_close(handle) closes a shared library


It sure would be nice if Apple would provide an implementation
of this relatively common API.

It shouldn't be that difficult to extract this functionality
from the more comprehensive bundle services that are a part of
Mac OS X.  I think the relevant documentation might be found
somewhere near here: 

http://developer.apple.com/techpubs/macosx/CoreFoundation/BundleServices

and in particular this part:

http://developer.apple.com/techpubs/macosx/CoreFoundation/BundleServices/CFBundleServices/Concepts/CFBundle-21.html



 -- Doug