self ~main
self
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:
self-d
Idea / Rationale
self
is a package to bring automatic constructor initializations to Dlang:
class Point {
private double x;
private double y;
this(self!x, self!y) {
// x and y are already set at this point.
}
}
- Registered by Danilo Krahn
- ~main released 9 months ago
- D-a-n-i-l-o/self-d
- MIT
- Dependencies:
- none
- Versions:
-
0.0.1 2024-Jan-17 ~main 2024-Jan-17 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
2 downloads total
-
- Score:
- 0.0
- Short URL:
- self.dub.pm