Skip to content
Browse files

Rename function

  • Loading branch information...
1 parent d5969f0 commit c1c90498e60018de4cb26521e73d188337adf7d8 @apauley committed Sep 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 sudoku.erl
View
4 sudoku.erl
@@ -189,11 +189,11 @@ solve_all(GridList) ->
PidGrids = [{spawn(fun server/0), Grid}
|| Grid <- GridList],
[send_puzzle(PG) || PG <- PidGrids],
- [receiveSolution(V) || V <- PidGrids].
+ [receive_solution(V) || V <- PidGrids].
send_puzzle({Pid, Grid}) -> Pid ! {self(), solve, Grid}.
-receiveSolution({Pid, Grid}) ->
+receive_solution({Pid, Grid}) ->
receive {Pid, Grid, Solution} -> Solution end.
server() ->

0 comments on commit c1c9049

Please sign in to comment.
Something went wrong with that request. Please try again.