-
-
Save aaroncm/2eec12af864cbb06d36f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Insurance do | |
def build_keywords do | |
state = "UT" | |
keywords = ["Car Insurance", "Insurance Car"] | |
cities = ["Alpine", "Altamont", "Alton"] | |
for city <- cities do | |
for keyword <- keywords do | |
["#{keyword} #{city}", "#{keyword} #{city} #{state}"] | |
end | |
end |> List.flatten | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment