[plt-scheme] current-library-collection-paths in Embeded MzScheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Feb 12 20:30:57 EST 2006

At Sat, 11 Feb 2006 11:22:00 -0700, Chongkai Zhu wrote:
> In C program that embeds MzScheme, by default I can't require any
> standard PLT library.
> The reason seems to be that (current-library-collection-paths) is empty.

If you want the embedding application to find collections in the same
way as stand-alone MzScheme, then the application should run

 (current-library-colelction-paths
  (find-library-collection-paths))

on start-up.

> I also wonder why (current-directory) is also empty in Embeded MzScheme.

I don't know about this one, so I'll have to look into it.

Matthew



Posted on the users mailing list.