forked from PhilippeSigaud/D-templates-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Old things done, new things to do. Such is life.
- Loading branch information
1 parent
a4b783c
commit e889cf7
Showing
1 changed file
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,23 @@ | ||
TODO | ||
==== | ||
|
||
Scaffolding | ||
----------- | ||
Topics that interest me most right now: | ||
--------------------------------------- | ||
|
||
* Define more LaTeX environments (invisible-D, D-in-main, D-module-scope) | ||
* A D script that extract the code samples and put them in directories. | ||
* Another D script that extract the \TODO{} commands and list them all. | ||
|
||
Templates to show | ||
----------------- | ||
|
||
* juxtapose functions | ||
* annotating type | ||
* compile-time writefln | ||
* mapping n ranges in parallel | ||
* heterogeneous tree | ||
* Generating random values, whatever the type. | ||
* juxtaposing functions, | ||
* mapping n ranges in parallel, | ||
* Generating random values, whatever the type, | ||
* grouping functions, | ||
* a simple compile-time state machine? (to parse something, for example) | ||
|
||
Misc. | ||
----- | ||
|
||
|
||
* __LINE__ and __FILE__ are described on dlang.org. Link it. | ||
* Index Appendix B. | ||
|
||
From the D mailing lists, related to templates (to be put somewhere in the text): | ||
|
||
"You can't use methods (delegates) for template parameters, because they need a context, which is not known at compile-time." | ||
|
||
"If exactly one of two equally good matched functions is a templated one, the other one is chosen. Now that you have templated the second function, both are an equally good match and both are templated." |