Skip to content

Commit

Permalink
TODO now is an external file. No need to keep it in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeSigaud committed Jan 19, 2012
1 parent 6ea0cfe commit 2c24756
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The master document is `dtemplates.tex` and calls the other subfiles:
* `dtemplates_advanced.tex` is about more advanced ideas, like constraints, tuples or operator overloading
* `dtemplates_around.tex` deals with other metaprogramming constructs interacting with templates: traits, compile-time function evaluation (CTFE) and string mixins.
* `dtemplates_examples.tex` presents some more detailed examples of what can be bone with D templates.
* `dtemplates_appendix.tex` gives some explanation on the `is` expression.
* `dtemplates_appendix.tex` gives some explanation on the `is` expression and links on other templates resources.

I'll push the resulting pdf file on this repo, but it'd be best to generate it anew on your computer.

Expand All @@ -22,11 +22,3 @@ LaTeX notes

The document uses the [minted](http://code.google.com/p/minted/) package. `minted` uses Python's [Pygment](pygments.org) highlighter.
D code blocks are between `\begin{dcode}` and `\end{dcode}` commands. Transform them into `verbatim` commands if you do not want to use `minted`.

TODO
----

* Finish the examples part
* write some D code to automatically extract and compile the examples code.
* find a way to convert to .ddoc format (maybe another project: some Markdown <-> LaTex <-> DDoc converter), to use D's own syntax highlighter.

5 changes: 5 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@ Templates to show
Misc.
-----


* __LINE__ and __FILE__ are described on dlang.org. Link it.
* Index Appendix B.

"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."

0 comments on commit 2c24756

Please sign in to comment.