英語 での Mutable の使用例とその 日本語 への翻訳
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
For instance, mutable reference is not able to implement Copy because it violates the borrow checker.
How can we reconcile this with the task system, which otherwise helps us avoid mutable state?
Dictionary is mutable, so you can update, add and delete elements from a dictionary.
This code stores a reference to an externally mutable object into a static.
If an object is mutable than those values can change and so is the hash code.
Mutable records, references(again!) and arraysPreviously we mentioned records in passing.
With STRef, I can accept an STRef to a mutable array, and avoid making a copy at all.
Along the way, you will learn Haskell's I/O, mutable state, dynamic typing, error handling, and parsing features.
Other mutable sequence types(when added to the language) should also support these operations.
My container contains a mutable list of widgets and methods to add a widget to this list and get_widgets return the list of widgets.
After all, XSLT is missing some features that are important to a lot of algorithms, including loops and mutable variables.
Mutable objects, on the other hand, can have arbitrarily complex state spaces.
Buffers provide an efficient way to accumulate a sequence of bytes in a single place. They are mutable.
Mutable Instruments call it a macro oscillator, but even that is an understatement.
Like Postgres, InnoDB supports advanced features like MVCC and mutable data.
For mutable targets such as lists and dictionaries, the inplace method will perform the update, so no subsequent assignment is necessary.
For instance, numbers, strings and tuples are immutable, while dictionaries and lists are mutable.
Due to Rust's type system, we have a concept that sounds like a lie:"safe shared mutable state.".
Variables are also designated as immutable(val) and mutable var.
The extension module array provides an additional example of a mutable sequence type, as does the collections module.