[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [proposal] require resources
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Sun, 19 Jan 2020 21:25:04 -0300
currently we can require code. but it'd be nice to be able to require
resources, using (mostly) the same module machinery.
'
require("foo.bar", "res.txt") would look for "res.txt" as a file in
module "foo.bar", regardless of what 'module "foo.bar"' is - except that
it must be a module.