-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
x:action/improveImprove existing functionality/contentImprove existing functionality/contentx:knowledge/elementaryLittle Exercism knowledge requiredLittle Exercism knowledge requiredx:module/representerWork on RepresentersWork on Representersx:size/largeLarge amount of workLarge amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)
Description
Make sure module names with multiple parts are replaced by placeholders. Replace individual atoms by different placeholders so that module path still make sense.
Example input
defmodule A.B.C do
alias A.B, as: AB
endDesired output
defmodule PLACEHOLDER_1.PLACEHOLDER_2.PLACEHOLDER_3 do
alias PLACEHOLDER_1.PLACEHOLDER_2, as: PLACEHOLDER_4
end(parentheses missing)
Curent output
defmodule(A.B.C) do
alias(A.B, as: AB)
endangelikatyborska
Metadata
Metadata
Assignees
Labels
x:action/improveImprove existing functionality/contentImprove existing functionality/contentx:knowledge/elementaryLittle Exercism knowledge requiredLittle Exercism knowledge requiredx:module/representerWork on RepresentersWork on Representersx:size/largeLarge amount of workLarge amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)