-
https://github.com/haskell/vector/blob/6b8bbc3a75b40451d8d225e30c576dfe89121c49/vector/src/Data/Vector/Unboxed.hs#L61-L63
https://github.com/haskell/vector/blob/6b8bbc3a75b40451d8d225e30c576dfe8912…
-
java.lang.IllegalArgumentException: com.name.dev:
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consid…
-
If you store a mutable object in the engine, a getter can take it and mutate it without the engine's knowledge so the downstream effects do not happen.
How to solve this?
Currently relying on the u…
-
This minimal repro case
```js
goog.module('AbstractList');
class AbstractList {}
AbstractList.Mutable = class extends AbstractList {};
AbstractList.ArrayList = class extends AbstractList.Mutabl…
-
I tried this code:
```rust
#[lang = "copy"]
trait Copy {}
#[stable(feature = "rust1", since = "1.0.0")]
#[repr(transparent)]
#[repr(no_niche)] // rust-lang/rust#68303.
pub struct UnsafeCell {
…
-
@tritao, the following code reverts on beta-3 (sway 0.35.5). Is this behavior expected?
```rust
// We are inside a method with `ref mut self` receiver
// `self.keys.keys` is `[Addre…
-
Coming from Clojure, altering a `let` binding looked kind of wrong but it is certainly beginner-friendly for people unfamiliar with immutability. Furthermore, Clojure does have some mechanisms for che…
-
Consider the following session:
```
> x = 3
3 : number
> xThunk = \_ -> x
: a -> number
> x = "Hello"
"Hello" : String
> xThunk ()
"Hello" : String
```
The variable `x` doesn't get closed over. In…
-
If a field is mutable, SaveTheChange stores a deepcopy of it in `_mutable_fields`, and then when you save the object, compares the deepcopy with the current value:
```
[name for name, value in six…
-
Please add a method in PayloadBuilder.java:
public PayloadBuilder addMutableContent() {
aps.put("mutable-content", 1);
return this;
}
The value 1 is fix at the moment, as far …