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

Work Complete! #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Work Complete! #32

wants to merge 3 commits into from

Conversation

matthewLee711
Copy link

Name: Matthew Lee
ID: 38474635

@@ -26,8 +26,23 @@ defmodule Ex01 do
2 is the program well laid out, appropriately using indentation,
blank lines, vertical alignment
"""

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10 + 10

# value = « your code »
# assert value == 1
# end
test "counter using an agent" do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0

# assert Ex02.next_value(count) == 5
# assert Ex02.next_value(count) == 6
# end
test "higher level API interface" do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10

@@ -60,7 +60,14 @@ defmodule Ex03 do
"""

def pmap(collection, process_count, function) do
« your code here »
# calculate size of each chunk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

30

fyi, you could use flat_map instead of map |> concat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants