localimport 1.1.0
Module for D's local import idiom.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
localimport
D import idiom originally described by Daniel Nielsen, see this blog post. Later refined by Dgame, see here.
I basically moved this into a module and added some tests.
import localimport;
void main() {
from.std.stdio.writeln("Hallo");
auto _ = from.std.datetime.stopwatch.AutoStart.yes;
from.std.stdio.thisFunctionDoesNotExist("Hallo");
from.std.stdio.thisFunctionDoesNotExist(42);
}
- Registered by fr86
- 1.1.0 released 5 years ago
- FR86/localimport
- public domain
- Authors:
- Dependencies:
- none
- Versions:
-
1.3.0 2019-Jan-07 1.2.0 2019-Jan-07 1.1.0 2019-Jan-06 1.0.0 2019-Jan-06 ~master 2019-Jan-07 - Download Stats:
-
-
4 downloads today
-
89 downloads this week
-
360 downloads this month
-
119162 downloads total
-
- Score:
- 3.5
- Short URL:
- localimport.dub.pm