Skip to content

Commit 4ee6bb8

Browse files
committed
Rename project to fix typo
1 parent ecf247d commit 4ee6bb8

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

lib/algorithims.ex

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
defmodule Algorithims do
1+
defmodule Algorithms do
22
@moduledoc """
3-
Documentation for Algorithims.
3+
Documentation for Algorithms.
44
"""
55

66
@doc """
77
Hello world.
88
99
## Examples
1010
11-
iex> Algorithims.hello()
11+
iex> Algorithms.hello()
1212
:world
1313
1414
"""

lib/data_structures/doubly_linked_list.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Algorithims.DataStructures.DoublyLinkedList do
1+
defmodule Algorithms.DataStructures.DoublyLinkedList do
22
@moduledoc """
33
Because of elixir's immutability, there is no true way of having fully cyclical, referential structures. You would have to make a copy of the list with each change, and account for the new reference.
44
We will not write overly complex code to do that, and allow the user to understand the nuance here.

lib/data_structures/singly_linked_list.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Algorithims.DataStructures.SinglyLinkedList do
1+
defmodule Algorithms.DataStructures.SinglyLinkedList do
22
@moduledoc """
33
Access for SinglyLinkedList is O(n)
44
Search for SinglyLinkedList is O(n)

mix.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
defmodule Algorithims.MixProject do
1+
defmodule Algorithms.MixProject do
22
use Mix.Project
33

44
def project do
55
[
6-
app: :algorithims,
6+
app: :algorithms,
77
version: "0.1.0",
88
elixir: "~> 1.9",
99
start_permanent: Mix.env() == :prod,

test/algorithims_test.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
defmodule AlgorithimsTest do
1+
defmodule AlgorithmsTest do
22
use ExUnit.Case
3-
doctest Algorithims
3+
doctest Algorithms
44

55
test "greets the world" do
6-
assert Algorithims.hello() == :world
6+
assert Algorithms.hello() == :world
77
end
88
end

test/data_structures/doubly_linked_list_test.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
defmodule Algorithims.DataStructures.DoublyLinkedListTest do
2-
alias Algorithims.DataStructures.DoublyLinkedList
1+
defmodule Algorithms.DataStructures.DoublyLinkedListTest do
2+
alias Algorithms.DataStructures.DoublyLinkedList
33
alias DoublyLinkedList.LinkedList
44
alias DoublyLinkedList.Node
55

66
use ExUnit.Case
7-
doctest Algorithims
7+
doctest Algorithms
88

99
describe "get_node/1" do
1010
test "it works when the list is empty" do

test/data_structures/singly_linked_list_test.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
defmodule Algorithims.DataStructures.SinglyLinkedListTest do
2-
alias Algorithims.DataStructures.SinglyLinkedList
1+
defmodule Algorithms.DataStructures.SinglyLinkedListTest do
2+
alias Algorithms.DataStructures.SinglyLinkedList
33
alias SinglyLinkedList.LinkedList
44
alias SinglyLinkedList.Node
55

66
use ExUnit.Case
7-
doctest Algorithims
7+
doctest Algorithms
88

99
describe "add_node_head/2" do
1010
test "it works when the list is empty" do

0 commit comments

Comments
 (0)