-
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
Davidk #31
base: master
Are you sure you want to change the base?
Davidk #31
Conversation
@@ -26,50 +26,60 @@ 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
@@ -1,6 +1,25 @@ | |||
|
|||
defmodule Ex02 do | |||
|
|||
@name __MODULE__ |
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
@@ -60,7 +60,12 @@ defmodule Ex03 do | |||
""" | |||
|
|||
def pmap(collection, process_count, function) do | |||
« your code here » | |||
chunk_size = div(Enum.count(collection) , process_count) |
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
it looks good here, and seems to work fine
David Kim
40059634