-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Work Complete! #32
Conversation
@@ -26,8 +26,23 @@ defmodule Ex01 do | |||
2 is the program well laid out, appropriately using indentation, | |||
blank lines, vertical alignment | |||
""" | |||
|
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
Name: Matthew Lee
ID: 38474635