Skip to content

Commit 7fe5bfe

Browse files
ShadowMitialeios
andauthored
Standardise code directory names (#920)
* Rename c++ directories to cpp * Rename golang folders to go * Change paths to code in chapter files Co-authored-by: James Schloss <[email protected]>
1 parent a3825b2 commit 7fe5bfe

File tree

42 files changed

+61
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+61
-61
lines changed

contents/IFS/IFS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Here, instead of tracking children of children, we track a single individual tha
135135
{% sample lang="hs" %}
136136
[import:7-13, lang:"haskell"](code/haskell/IFS.hs)
137137
{% sample lang="cpp" %}
138-
[import:39-52, lang:"cpp"](code/c++/IFS.cpp)
138+
[import:39-52, lang:"cpp"](code/cpp/IFS.cpp)
139139
{% sample lang="py" %}
140140
[import:5-12, lang:"python"](code/python/IFS.py)
141141
{% sample lang="c" %}
@@ -221,7 +221,7 @@ In addition, we have written the chaos game code to take in a set of points so t
221221
{% sample lang="hs" %}
222222
[import, lang:"haskell"](code/haskell/IFS.hs)
223223
{% sample lang="cpp" %}
224-
[import, lang:"cpp"](code/c++/IFS.cpp)
224+
[import, lang:"cpp"](code/cpp/IFS.cpp)
225225
{% sample lang="py" %}
226226
[import, lang:"python"](code/python/IFS.py)
227227
{% sample lang="c" %}
File renamed without changes.

contents/approximate_counting/approximate_counting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ As we do not have any objects to count, we will instead simulate the counting wi
363363
{% sample lang="c" %}
364364
[import, lang:"c"](code/c/approximate_counting.c)
365365
{% sample lang="cpp" %}
366-
[import, lang:"cpp"](code/c++/approximate_counting.cpp)
366+
[import, lang:"cpp"](code/cpp/approximate_counting.cpp)
367367
{% sample lang="python" %}
368368
[import, lang:"python"](code/python/approximate_counting.py)
369369
{% endmethod %}

contents/barnsley/barnsley.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The biggest differences between the two code implementations is that the Barnsle
128128
{% sample lang="rs" %}
129129
[import, lang:"rust"](code/rust/src/main.rs)
130130
{% sample lang="cpp" %}
131-
[import, lang:"cpp"](code/c++/barnsley.cpp)
131+
[import, lang:"cpp"](code/cpp/barnsley.cpp)
132132
{% sample lang="c" %}
133133
[import, lang:"c"](code/c/barnsley.c)
134134
{% sample lang="java" %}

contents/computus/computus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ For now, we have the code outputting a tuple of $$d$$ and $$e$$, so users can us
315315
{% sample lang="c" %}
316316
[import, lang:"c"](code/c/gauss_easter.c)
317317
{% sample lang="cpp" %}
318-
[import, lang:"cpp"](code/c++/gauss_easter.cpp)
318+
[import, lang:"cpp"](code/cpp/gauss_easter.cpp)
319319
{% sample lang="lisp" %}
320320
[import, lang:"lisp"](code/clisp/gauss-easter.lisp)
321321
{% sample lang="nim" %}

contents/cooley_tukey/cooley_tukey.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ For some reason, though, putting code to this transformation really helped me fi
7676
{% sample lang="clj" %}
7777
[import:15-30, lang:"clojure"](code/clojure/fft.clj)
7878
{% sample lang="cpp" %}
79-
[import:23-33, lang:"cpp"](code/c++/fft.cpp)
79+
[import:23-33, lang:"cpp"](code/cpp/fft.cpp)
8080
{% sample lang="hs" %}
8181
[import:7-13, lang:"haskell"](code/haskell/fft.hs)
8282
{% sample lang="py" %}
@@ -129,7 +129,7 @@ In the end, the code looks like:
129129
{% sample lang="clj" %}
130130
[import:31-58, lang:"clojure"](code/clojure/fft.clj)
131131
{% sample lang="cpp" %}
132-
[import:36-66, lang:"cpp"](code/c++/fft.cpp)
132+
[import:36-66, lang:"cpp"](code/cpp/fft.cpp)
133133
{% sample lang="hs" %}
134134
[import:15-28, lang:"haskell"](code/haskell/fft.hs)
135135
{% sample lang="py" %}
@@ -242,7 +242,7 @@ Note: I implemented this in Julia because the code seems more straightforward in
242242
{% sample lang="clj" %}
243243
[import, lang:"clojure"](code/clojure/fft.clj)
244244
{% sample lang="cpp" %}
245-
[import, lang:"cpp"](code/c++/fft.cpp)
245+
[import, lang:"cpp"](code/cpp/fft.cpp)
246246
{% sample lang="hs" %}
247247
[import, lang:"haskell"](code/haskell/fft.hs)
248248
{% sample lang="py" %}

0 commit comments

Comments
 (0)