diff --git a/chapters/FFT/code/hs/fft.hs b/chapters/FFT/code/haskell/fft.hs similarity index 100% rename from chapters/FFT/code/hs/fft.hs rename to chapters/FFT/code/haskell/fft.hs diff --git a/chapters/FFT/cooley_tukey.md b/chapters/FFT/cooley_tukey.md index b01331516..ce5ad476c 100644 --- a/chapters/FFT/cooley_tukey.md +++ b/chapters/FFT/cooley_tukey.md @@ -121,7 +121,7 @@ In the end, the code looks like: {% sample lang="cpp" %} [import:27-57, lang:"c_cpp"](code/c++/fft.cpp) {% sample lang="hs" %} -[import:6-19, lang:"haskell"](code/hs/fft.hs) +[import:6-19, lang:"haskell"](code/haskell/fft.hs) {% sample lang="py" %} [import:5-16, lang:"python"](code/python/fft.py) {% sample lang="scratch" %} @@ -229,7 +229,7 @@ Note: I implemented this in Julia because the code seems more straightforward in [import, lang:"c_cpp"](code/c++/fft.cpp) {% sample lang="hs" %} ### Haskell -[import, lang:"haskell"](code/hs/fft.hs) +[import, lang:"haskell"](code/haskell/fft.hs) {% sample lang="py" %} ### Python [import, lang:"python"](code/python/fft.py) diff --git a/chapters/computational_geometry/gift_wrapping/jarvis_march/code/cs/JarvisMarch.cs b/chapters/computational_geometry/gift_wrapping/jarvis_march/code/csharp/JarvisMarch.cs similarity index 100% rename from chapters/computational_geometry/gift_wrapping/jarvis_march/code/cs/JarvisMarch.cs rename to chapters/computational_geometry/gift_wrapping/jarvis_march/code/csharp/JarvisMarch.cs diff --git a/chapters/computational_geometry/gift_wrapping/jarvis_march/code/cs/Program.cs b/chapters/computational_geometry/gift_wrapping/jarvis_march/code/csharp/Program.cs similarity index 100% rename from chapters/computational_geometry/gift_wrapping/jarvis_march/code/cs/Program.cs rename to chapters/computational_geometry/gift_wrapping/jarvis_march/code/csharp/Program.cs diff --git a/chapters/computational_geometry/gift_wrapping/jarvis_march/jarvis_march.md b/chapters/computational_geometry/gift_wrapping/jarvis_march/jarvis_march.md index 53ee94794..dae06205c 100644 --- a/chapters/computational_geometry/gift_wrapping/jarvis_march/jarvis_march.md +++ b/chapters/computational_geometry/gift_wrapping/jarvis_march/jarvis_march.md @@ -26,9 +26,9 @@ Since this algorithm, there have been many other algorithms that have advanced t {% sample lang="cs" %} ### C# # JarvisMarch.cs -[import, lang="csharp"](code/cs/JarvisMarch.cs) +[import, lang="csharp"](code/csharp/JarvisMarch.cs) Program.cs -[import, lang="csharp"](code/cs/Program.cs) +[import, lang="csharp"](code/csharp/Program.cs) {% sample lang="jl" %} ### Julia [import, lang:"julia"](code/julia/jarvis.jl) diff --git a/chapters/data_compression/huffman/code/cs/HuffmanCoding.cs b/chapters/data_compression/huffman/code/csharp/HuffmanCoding.cs similarity index 100% rename from chapters/data_compression/huffman/code/cs/HuffmanCoding.cs rename to chapters/data_compression/huffman/code/csharp/HuffmanCoding.cs diff --git a/chapters/data_compression/huffman/code/cs/Program.cs b/chapters/data_compression/huffman/code/csharp/Program.cs similarity index 100% rename from chapters/data_compression/huffman/code/cs/Program.cs rename to chapters/data_compression/huffman/code/csharp/Program.cs diff --git a/chapters/data_compression/huffman/huffman.md b/chapters/data_compression/huffman/huffman.md index f0409f5be..77a4953bf 100644 --- a/chapters/data_compression/huffman/huffman.md +++ b/chapters/data_compression/huffman/huffman.md @@ -69,9 +69,9 @@ Whether you use a stack or straight-up recursion also depends on the language, b {% sample lang="cs" %} ### C# # HuffmanCoding.cs -[import, lang:"csharp"](code/cs/HuffmanCoding.cs) +[import, lang:"csharp"](code/csharp/HuffmanCoding.cs) Program.cs -[import, lang:"csharp"](code/cs/Program.cs) +[import, lang:"csharp"](code/csharp/Program.cs) {% sample lang="cpp" %} ### C++ [import, lang:"c_cpp"](code/c++/huffman.cpp) diff --git a/chapters/decision_problems/stable_marriage/code/cs/GaleShapleyAlgorithm.cs b/chapters/decision_problems/stable_marriage/code/csharp/GaleShapleyAlgorithm.cs similarity index 100% rename from chapters/decision_problems/stable_marriage/code/cs/GaleShapleyAlgorithm.cs rename to chapters/decision_problems/stable_marriage/code/csharp/GaleShapleyAlgorithm.cs diff --git a/chapters/decision_problems/stable_marriage/code/cs/ListExtensions.cs b/chapters/decision_problems/stable_marriage/code/csharp/ListExtensions.cs similarity index 100% rename from chapters/decision_problems/stable_marriage/code/cs/ListExtensions.cs rename to chapters/decision_problems/stable_marriage/code/csharp/ListExtensions.cs diff --git a/chapters/decision_problems/stable_marriage/code/cs/Person.cs b/chapters/decision_problems/stable_marriage/code/csharp/Person.cs similarity index 100% rename from chapters/decision_problems/stable_marriage/code/cs/Person.cs rename to chapters/decision_problems/stable_marriage/code/csharp/Person.cs diff --git a/chapters/decision_problems/stable_marriage/code/cs/Program.cs b/chapters/decision_problems/stable_marriage/code/csharp/Program.cs similarity index 100% rename from chapters/decision_problems/stable_marriage/code/cs/Program.cs rename to chapters/decision_problems/stable_marriage/code/csharp/Program.cs diff --git a/chapters/decision_problems/stable_marriage/stable_marriage.md b/chapters/decision_problems/stable_marriage/stable_marriage.md index 3243c1426..79f842898 100644 --- a/chapters/decision_problems/stable_marriage/stable_marriage.md +++ b/chapters/decision_problems/stable_marriage/stable_marriage.md @@ -40,13 +40,13 @@ I am incredibly interested to see what you guys do and how you implement the alg {% sample lang="cs" %} ### C# # GaleShapleyAlgorithm.cs -[import, lang:"csharp"](code/cs/GaleShapleyAlgorithm.cs) +[import, lang:"csharp"](code/csharp/GaleShapleyAlgorithm.cs) Person.cs -[import, lang:"csharp"](code/cs/Person.cs) +[import, lang:"csharp"](code/csharp/Person.cs) Program.cs -[import, lang:"csharp"](code/cs/Program.cs) +[import, lang:"csharp"](code/csharp/Program.cs) ListExtensions.cs -[import, lang:"csharp"](code/cs/ListExtensions.cs) +[import, lang:"csharp"](code/csharp/ListExtensions.cs) {% endmethod %}