Skip to content

Commit 3de5654

Browse files
authored
Merge pull request #1 from berquist/348-bubble-sort-lisp-pr
Updates to Lisp bubble sort PR
2 parents 492826d + 7681e94 commit 3de5654

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ indent_size = 2
7575
indent_style = space
7676
indent_size = 2
7777

78+
# Lisp
79+
[*.lisp]
80+
indent_style = space
81+
indent_size = 2
82+
7883
# Matlab
7984
[*.m]
8085
indent_style = space

CONTRIBUTORS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ NIFR91
5757
Michal Hanajik
5858
<br>
5959
Bendik Samseth
60-
Trashtalk
61-
Trashtalk
60+
<br>
61+
Trashtalk

book.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
{
128128
"lang": "php",
129129
"name": "PHP"
130+
},
131+
{
132+
"lang": "lisp",
133+
"name": "Lisp"
130134
}
131135
]
132136
}

contents/bubble_sort/bubble_sort.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ This means that we need to go through the vector $$\mathcal{O}(n^2)$$ times with
4444
[import:1-11, lang:"crystal"](code/crystal/bubble.cr)
4545
{% sample lang="php" %}
4646
[import:3-15, lang:"php"](code/php/bubble_sort.php)
47+
{% sample lang="lisp" %}
48+
[import:3-14, lang:"lisp"](code/lisp/bubble_sort.lisp)
4749
{% endmethod %}
4850

4951
... And that's it for the simplest bubble sort method.
@@ -93,6 +95,8 @@ Program.cs
9395
[import, lang:"crystal"](code/crystal/bubble.cr)
9496
{% sample lang="php" %}
9597
[import, lang:"php"](code/php/bubble_sort.php)
98+
{% sample lang="lisp" %}
99+
[import, lang:"lisp"](code/lisp/bubble_sort.lisp)
96100
{% endmethod %}
97101

98102
<script>

0 commit comments

Comments
 (0)