regeneration

This commit is contained in:
Yann Esposito (Yogsototh) 2011-11-16 13:59:03 +01:00
parent f23880510f
commit 6b36bc3fdb
4 changed files with 10 additions and 6 deletions

View file

@ -200,14 +200,15 @@ Once fixed, we should now simply copy and repeat for each new level.
Now it is time to talk about where the magic occurs: `YTRANSCOMPLETE`. Now it is time to talk about where the magic occurs: `YTRANSCOMPLETE`.
This macro takes two arguments. This macro takes two arguments.
The current depth and the preceding one. The current depth and the preceding one.
It duplicate using the three transformations the preceding level. It duplicates using the three transformations the preceding level.
- At level 0 there is only one λ, - At level 0 there is only one λ,
- at level 1 there is 3 λ, - at level 1 there is 3 λ,
- at level 2 ther is 9 λ - at level 2 there is 9 λ
- etc... - etc...
At the final 5th level there is 3<sup>5</sup>=243 λ. At the final 5th level there is 3<sup>5</sup>=243 λ.
All level combined have 3<sup>6</sup>-1 / 2 = 364 λ.
I could preview the final result easily. I could preview the final result easily.
Without the macro system, I would have to make 5 copy/paste + modifications for each try. Without the macro system, I would have to make 5 copy/paste + modifications for each try.

View file

@ -207,6 +207,7 @@ Le niveau courant et le niveau précédent.
Cette macro va dupliquer le niveau précédent en lui appliquant chacune des 3 transformations. Cette macro va dupliquer le niveau précédent en lui appliquant chacune des 3 transformations.
Au niveau 0, le contenu est un seul grand λ, le niveau 1 en contient 3. Le niveau 2 en contient 9, etc... Au niveau 0, le contenu est un seul grand λ, le niveau 1 en contient 3. Le niveau 2 en contient 9, etc...
Le niveau 5 contient 3<sup>5</sup>=243 λ. Le niveau 5 contient 3<sup>5</sup>=243 λ.
Tous les niveaux combinés représentent 3<sup>6</sup>-1 / 2 = 364 λ.
L'avantage principal c'est que je pouvais visualiser le résultat final facilement. L'avantage principal c'est que je pouvais visualiser le résultat final facilement.
Sans ce système de macro, pour faire une preview il m'aurait fallu faire des copier/coller + quelques modifications à chaque essai. Sans ce système de macro, pour faire une preview il m'aurait fallu faire des copier/coller + quelques modifications à chaque essai.

View file

@ -252,16 +252,17 @@ m4 yesodlogo.m4 <span class="Keyword">&gt;</span> yesodlogo.svg <span class="Key
<p>Now it is time to talk about where the magic occurs: <code>YTRANSCOMPLETE</code>. <p>Now it is time to talk about where the magic occurs: <code>YTRANSCOMPLETE</code>.
This macro takes two arguments. This macro takes two arguments.
The current depth and the preceding one. The current depth and the preceding one.
It duplicate using the three transformations the preceding level.</p> It duplicates using the three transformations the preceding level.</p>
<ul> <ul>
<li>At level 0 there is only one λ,</li> <li>At level 0 there is only one λ,</li>
<li>at level 1 there is 3 λ,</li> <li>at level 1 there is 3 λ,</li>
<li>at level 2 ther is 9 λ</li> <li>at level 2 there is 9 λ</li>
<li>etc&hellip; </li> <li>etc&hellip; </li>
</ul> </ul>
<p>At the final 5<sup>th</sup> level there is 3<sup>5</sup>=243 λ.</p> <p>At the final 5<sup>th</sup> level there is 3<sup>5</sup>=243 λ.
All level combined have 3<sup>6</sup>-1 / 2 = 364 λ.</p>
<p>I could preview the final result easily. <p>I could preview the final result easily.
Without the macro system, I would have to make 5 copy/paste + modifications for each try.</p> Without the macro system, I would have to make 5 copy/paste + modifications for each try.</p>

View file

@ -258,7 +258,8 @@ Cette macro prend deux arguments.
Le niveau courant et le niveau précédent. Le niveau courant et le niveau précédent.
Cette macro va dupliquer le niveau précédent en lui appliquant chacune des 3 transformations. Cette macro va dupliquer le niveau précédent en lui appliquant chacune des 3 transformations.
Au niveau 0, le contenu est un seul grand λ, le niveau 1 en contient 3. Le niveau 2 en contient 9, etc&hellip; Au niveau 0, le contenu est un seul grand λ, le niveau 1 en contient 3. Le niveau 2 en contient 9, etc&hellip;
Le niveau 5 contient 3<sup>5</sup>=243 λ.</p> Le niveau 5 contient 3<sup>5</sup>=243 λ.
Tous les niveaux combinés représentent 3<sup>6</sup>-1 / 2 = 364 λ.</p>
<p>L&rsquo;avantage principal c&rsquo;est que je pouvais visualiser le résultat final facilement. <p>L&rsquo;avantage principal c&rsquo;est que je pouvais visualiser le résultat final facilement.
Sans ce système de macro, pour faire une preview il m&rsquo;aurait fallu faire des copier/coller + quelques modifications à chaque essai.</p> Sans ce système de macro, pour faire une preview il m&rsquo;aurait fallu faire des copier/coller + quelques modifications à chaque essai.</p>