Deimos: Consistent structure?
Jude Young
10equals2 at gmail.com
Mon Nov 21 12:34:41 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> If you are going to import _all_ modules of a deimos lib then use
> this shortcut:
>
> import deimos.ncurses; import deimos.lzma; import deimos.zmq;
> import deimos.mysql;
>
> ...
>
>
> Free for comments!
>
> - mta`chrono
>
Not always gonna work.
ncurses already has a file 'ncurses' which is just a symlink to curses.
It would be weird to have 'import deimos.ncurses' which imports
everything, and 'import deimos.ncurses.ncurses' which imports a single
file.
It's not how things are currently done(I don't think) and it would be
weird... It would seem to require a revamping of how imports are
currently done(which has actually been suggested) or including extra
files which aren't there in the C versions.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOyrXhAAoJENcHIWLyQiSlEvUH/1CakOerm+Ar0YaYQouCKk/g
cnS8o3QTZR1cKXbl1Voxm/EzDSRkHbo0Qu396HrIS+r8W9Hs5ZzMtwdnKM+wS5+c
26RITKTlHPEk/Ym4sccWWhGCsBWCa7+TtK8J7/1Vz8j2BaNBMNJ3M5mZbw0+f/Qd
I+fEI+l43IltgI0hzdZaD1oCe9DpbG12XaPH3EIzU1FdT5s7Ac1xpxcZ6zll7BL3
WTg8KsE8bhvktQW9ZfDIRg/GGlOPpQSPjXLId02XA2M3m2maCFiiSDo6xntbOpvt
Irj9AFnFnPCnKtFZvsOPdEo/RZ8o584EUt0P08TYxLcbTcYPvzuNeeZBUyaQZS4=
=OD6B
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list