# \#elixir-core

**URL:** https://forum.elixirforum.com/tag/elixir-core/2771.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Set different operation is right-associative?](https://forum.elixirforum.com/t/set-different-operation-is-right-associative/69762)

<div class="topic-metadata">

**Author:** [@linhyojee](https://forum.elixirforum.com/u/linhyojee)\
**Replies:** 1\
**Last updated:** [March 5, 2025, 5:19am UTC](https://forum.elixirforum.com/t/set-different-operation-is-right-associative/69762 "2025-03-05T05:19:02Z")

</div>

@josevalim , could you please provide some context or reasoning behind making the set difference operation (–) right-associative in Elixir? Is this a common way of evaluating expressions in Elixir (i.e., right-to-left)? …

---

## [\`Code.compile\_quoted/2\` leaves errors in \`spawn\_workers/8\` errors](https://forum.elixirforum.com/t/code-compile-quoted-2-leaves-errors-in-spawn-workers-8-errors/60702)

<div class="topic-metadata">

**Author:** [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Replies:** 4\
**Last updated:** [January 17, 2024, 7:57am UTC](https://forum.elixirforum.com/t/code-compile-quoted-2-leaves-errors-in-spawn-workers-8-errors/60702 "2024-01-17T07:57:20Z")

</div>

Most likely my use-case is not common, but still. If Code.compile\_quoted/2 is called during compile time, it leaves errors in the parallel compiler accumulator, even if rescued. That leads to that when the compilation e…

---

## [Limit access to dependencies and modules when running Code.eval\_quoted\_with\_env](https://forum.elixirforum.com/t/limit-access-to-dependencies-and-modules-when-running-code-eval-quoted-with-env/53840)

<div class="topic-metadata">

**Author:** [@RodolfoSilva](https://forum.elixirforum.com/u/RodolfoSilva)\
**Replies:** 3\
**Last updated:** [February 13, 2023, 2:54pm UTC](https://forum.elixirforum.com/t/limit-access-to-dependencies-and-modules-when-running-code-eval-quoted-with-env/53840 "2023-02-13T14:54:59Z")

</div>

Hi everyone, I’m developing a project where I will allow users to dynamically edit and execute code. I was wondering if there is any way to limit what the user can do and access. Something like livebook do. At the momen…

---

## [Possible bug in String.split/1's handling of Unicode whitespace?](https://forum.elixirforum.com/t/possible-bug-in-string-split-1s-handling-of-unicode-whitespace/50437)

<div class="topic-metadata">

**Author:** [@dogweather](https://forum.elixirforum.com/u/dogweather)\
**Replies:** 5\
**Last updated:** [September 22, 2022, 5:44am UTC](https://forum.elixirforum.com/t/possible-bug-in-string-split-1s-handling-of-unicode-whitespace/50437 "2022-09-22T05:44:30Z")

</div>

According to the docs, String.split/1… Divides a string into substrings at each Unicode whitespace occurrence… (emphasis mine) But I found that it doesn’t do this for U+00A0 “NO-BREAK SPACE” (UTF-8 \<\<194, 160\>\>). Ma…

---

## [Supercharging for comprehensions](https://forum.elixirforum.com/t/supercharging-for-comprehensions/44444)

<div class="topic-metadata">

**Author:** [@gregvaughn](https://forum.elixirforum.com/u/gregvaughn)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 6:23am UTC](https://forum.elixirforum.com/t/supercharging-for-comprehensions/44444 "2021-12-15T06:23:51Z")

</div>

José, I just watched your Twitch stream of day 10 of Advent of Code and, as a fan of for comprehensions, I enjoyed the time you spent discussing potential extensions of them. I recall learning about the reduce option the…

---

## [Type-level guards on top-level body-less function head](https://forum.elixirforum.com/t/type-level-guards-on-top-level-body-less-function-head/44187)

<div class="topic-metadata">

**Author:** [@Huolong](https://forum.elixirforum.com/u/Huolong)\
**Replies:** 2\
**Last updated:** [December 1, 2021, 6:46pm UTC](https://forum.elixirforum.com/t/type-level-guards-on-top-level-body-less-function-head/44187 "2021-12-01T18:46:50Z")

</div>

The top-level body-less function clause in a multi-head function is currently used for defining default argument values, and argument names for doc. There are two kinds of guards: Type-level guards that enforce the …

---

## [Why does Registry use set and duplicate bag](https://forum.elixirforum.com/t/why-does-registry-use-set-and-duplicate-bag/44058)

<div class="topic-metadata">

**Author:** [@qzg](https://forum.elixirforum.com/u/qzg)\
**Replies:** 3\
**Last updated:** [November 24, 2021, 1:03pm UTC](https://forum.elixirforum.com/t/why-does-registry-use-set-and-duplicate-bag/44058 "2021-11-24T13:03:52Z")

</div>

This is just a general question. I didn’t want to post an issue on the Elixir GitHub, but why does Registry use the set and duplicate bag datatypes in ETS and not ordered\_set. I was reading this article which looks lik…

---

## [Redefining Elixir Core modules in Mix project](https://forum.elixirforum.com/t/redefining-elixir-core-modules-in-mix-project/39013)

<div class="topic-metadata">

**Author:** [@eksperimental](https://forum.elixirforum.com/u/eksperimental)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 4:35pm UTC](https://forum.elixirforum.com/t/redefining-elixir-core-modules-in-mix-project/39013 "2021-04-16T16:35:12Z")

</div>

I am working on a fix for Elixir core, and I would like to know what is the best way to redefine an Elixir Core module. In this case if Protocol. Basically what I am doing is copying the original Protocol module, and ad…
