Comments (2)
Yeah, I guess technically that's correct and we could do that. However, I do like to see some of the less frequently used parts of Elixir used occasionally. After going through all the exercises over the last couple of days I've noticed that someone can make their way through the entirety of the Elixir track on here and not even touch a good chunk of the language. Things like this I think might be helpful in exposing users to new things to check out - in this case, MapSet
.
However, since there is a simpler way of expressing this, exposing these language features in this way might be counterproductive. I'm totally open to discussion from others on if we should refactor that in the way you propose, but I think a good first step is just getting rid of the deprecation without refactoring since we know for sure that's gotta go.
from elixir.
I had a quick look, as I didn't recall this exercise had anything to do with sets. It seems we're using sets to ignore order in the lists. Seems simpler to have the helper be something like
def assert_same_elements(actual, expected) do
assert Enum.sort(actual) == Enum.sort(expected),
"Expected #{inspect actual} to have the same elements as #{inspect expected}"
end
from elixir.
Related Issues (20)
- Top Secret could use another test HOT 2
- [Dancing Dots] "defines a __using__ macro" test is flakey in certain scenarios HOT 2
- [log-level] Misused trailing question marks HOT 1
- Set up a dead link checker
- Update all Elixir Exercism repos to use Elixir 1.15 and OTP 26 HOT 8
- Adjust all concepts to use charlist sigils
- test_exercises.sh print fails when test output includes `%`
- Lasagna exercise HOT 2
- Why does this repository have two identical github workflows? HOT 6
- Phone Number exercise: difference between tests in exercise folder vs online Test runner HOT 2
- Implement new practice exercise: bottle-song
- Too forgiving test in exercises/concept/german-sysadmin HOT 1
- Mistakes in `bottle-song` example solution typespecs HOT 3
- [RPG Character Sheet] Misleading the 5th question HOT 4
- Building a training set of tags for elixir HOT 22
- Run on Elixir 1.16
- Leap approaches for 48in24
- 48in24 Approaches for Raindrops HOT 2
- Darts exercise hint for sqrt workaround doesn't seem to work HOT 7
- Typo In Take-A-Number Deluxe Step 6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixir.