Skip to content

Fix typos #17

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Elixir world. I've seen many multi-thousand line modules. I've rarely
seen a Phoenix app where the developers have implemented the business
logic in other, free-standing apps (and I don't count the things in
umbrella apps as being free standing, firstly because the individual
components are not sharable, and secondly because that fact that all the
components are not shareable, and secondly because that fact that all the
code is in one place tempts developers to just call randomly between the
child apps.)

Expand Down
2 changes: 1 addition & 1 deletion lib/component/code_gen_helper.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule Component.CodeGenHelper do
@moduledoc """
Functions that help massage one- and two-way funtion definitions
Functions that help massage one- and two-way function definitions
into real code. These are called from the Strategy@impl functions
in the Strategy.Xxx modules.
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/component/strategy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ defmodule Component.Strategy do

# Orchestrate the production of code for a particular strategy. We're
# called after the target module has been parsed but before compilation.
# All tne one-way and two-way declarations have been tucked away in the
# All the one-way and two-way declarations have been tucked away in the
# preprocessor state: we extract them and get the individual strategies
# to generate code.

Expand Down
2 changes: 1 addition & 1 deletion lib/component/strategy/pooled/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Component.Strategy.Pooled.Supervisor do
`worker_module`: the module containing the code for the worker_module
`pool`: a specification for the pool
`min`: number of prestarted workers
`max`: can add upto `max - min` demand-based workers
`max`: can add up to `max - min` demand-based workers
"""
def start_link(opts) do
Supervisor.start_link(__MODULE__, opts)
Expand Down
2 changes: 1 addition & 1 deletion old_examples/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Examples of Components in Use

The `lib/` directoy contains examples of each type of component. Each
The `lib/` directory contains examples of each type of component. Each
sample contains two modules. The first is the sample component itself,
and the second is a set of unit tests that illustrate how that component
is used.
Expand Down