Working with ports can be awkward.
You’re really limited as to what values you can send through, so how do you get objects?
Easy: write a JSON Decoder!
After the sets series finished, I got really curious…
How fast were these sets, exactly?
I had to shave a lot of yaks to answer that question, but to sum up: Elm now has a benchmarking library!
Let’s take a look at how to use it!
Our Set implementation is done!
We just have a few things to wrap up.
This week in the Sets series, we’ll look at
It does the same thing as
List.filter, except using our sets.
We’ll have it take a function that checks whether we should include a value and use the output of that function to filter the values from the set.