Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous track maintenance #258

Merged
merged 6 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"version": 3,
"online_editor": {
"indent_style": "space",
"indent_size": 4,
"indent_size": 2,
"highlightjs_language": "lisp"
},
"test_runner": {
Expand All @@ -32,7 +32,8 @@
".meta/exemplar.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"exercises": {
Expand Down
11 changes: 0 additions & 11 deletions exercises/practice/accumulate/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/accumulate/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"source": "Conversation with James Edward Gray II",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/accumulate/src/accumulate.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'accumulate',
[{description, ""},
[{description, "exercism.org - accumulate"},
{vsn, "0.0.1"},
{modules,
['accumulate']},
Expand Down
5 changes: 5 additions & 0 deletions exercises/practice/accumulate/src/accumulate.lfe
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(defmodule accumulate
(export (accumulate 1)))

; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/acronym/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/acronym/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Convert a long phrase to its acronym.",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/acronym/src/acronym.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'acronym',
[{description, ""},
[{description, "exercism.org - acronym"},
{vsn, "0.0.1"},
{modules,
['acronym']},
Expand Down
6 changes: 3 additions & 3 deletions exercises/practice/acronym/src/acronym.lfe
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(defmodule acronym
(export (abbreviate 1)))
(export (abbreviate 1)))

; Please implement the exported function(s).

(defun abbreviate (str)
(throw "Please implement the abbreviate function"))
11 changes: 0 additions & 11 deletions exercises/practice/allergies/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/allergies/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/allergies/src/allergies.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'allergies',
[{description, ""},
[{description, "exercism.org - allergies"},
{vsn, "0.0.1"},
{modules,
['allergies']},
Expand Down
3 changes: 2 additions & 1 deletion exercises/practice/allergies/src/allergies.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
(export (allergies 1)
(allergic-to? 2)))

; Please implement the allergies and allergic-to? functions
; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/anagram/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/anagram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/anagram/src/anagram.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'anagram',
[{description, ""},
[{description, "exercism.org - anagram"},
{vsn, "0.0.1"},
{modules,
['anagram']},
Expand Down
3 changes: 2 additions & 1 deletion exercises/practice/anagram/src/anagram.lfe
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(defmodule anagram
(export (find 2)))

; Please implement the find function
; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/armstrong-numbers/.gitignore

This file was deleted.

4 changes: 4 additions & 0 deletions exercises/practice/armstrong-numbers/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
],
"example": [
".meta/example.lfe"
],
"invalidator": [
"rebar.config",
"rebar.lock"
]
},
"blurb": "Determine if a number is an Armstrong number.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'armstrong-numbers',
[{description, ""},
[{description, "exercism.org - armstrong numbers"},
{vsn, "0.0.1"},
{modules,
['armstrong-numbers']},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(defmodule armstrong-numbers
(export (armstrong-number? 1)))

; Please implement the armstrong-number? function
; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/atbash-cipher/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/atbash-cipher/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/atbash-cipher/src/atbash-cipher.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'atbash-cipher',
[{description, ""},
[{description, "exercism.org - atbash cipher"},
{vsn, "0.0.1"},
{modules,
['atbash-cipher']},
Expand Down
3 changes: 2 additions & 1 deletion exercises/practice/atbash-cipher/src/atbash-cipher.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
(export (encode 1)
(decode 1)))

; Please implement the encode and decode functions.
; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/bank-account/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/bank-account/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!"
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/bank-account/src/bank-account.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'bank-account',
[{description, ""},
[{description, "exercism.org - bank account"},
{vsn, "0.0.1"},
{modules,
['bank-account']},
Expand Down
3 changes: 2 additions & 1 deletion exercises/practice/bank-account/src/bank-account.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
(deposit 2)
(withdraw 2)))

; Please implement the exported functions.
; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/beer-song/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/beer-song/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/beer-song/src/beer-song.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'beer-song',
[{description, ""},
[{description, "exercism.org - beer song"},
{vsn, "0.0.1"},
{modules,
['beer-song']},
Expand Down
6 changes: 6 additions & 0 deletions exercises/practice/beer-song/src/beer-song.lfe
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(defmodule beer-song
(export (verse 1)
(sing 2)))

; Please implement the exported function(s).

3 changes: 2 additions & 1 deletion exercises/practice/binary-search/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Implement a binary search algorithm.",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/binary-search/src/binary-search.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'binary-search',
[{description, ""},
[{description, "exercism.org - binary search"},
{vsn, "0.0.1"},
{modules,
['binary-search']},
Expand Down
3 changes: 2 additions & 1 deletion exercises/practice/binary-search/src/binary-search.lfe
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(defmodule binary-search
(export (find 2)))

; please implement the find function
; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/binary/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion exercises/practice/binary/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
".meta/example.lfe"
],
"invalidator": [
"rebar.config"
"rebar.config",
"rebar.lock"
]
},
"blurb": "Convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles.",
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/binary/src/binary-string.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%% -*- erlang -*-
{application, 'binary-string',
[{description, ""},
[{description, "exercism.org - binary string"},
{vsn, "0.0.1"},
{modules,
['binary-string']},
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/binary/src/binary-string.lfe
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(defmodule binary-string
(export (to-decimal 1)))

; please implement the to-decimal function
; Please implement the exported function(s).

11 changes: 0 additions & 11 deletions exercises/practice/bob/.gitignore

This file was deleted.

Loading