We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Reader monad
Otra monada suministrada por el paquete purescript-transformers es la monada Reader.
Another monad provided by the purescript-transformers package is the Reader monad.
En estos ejercicios, usaremos la monada Reader para construir una pequeña biblioteca para representar documentos con sangría.
In these exercises, we will use the Reader monad to build a small library for rendering documents with indentation.
Como ejemplo de uso de la monada Reader, podemos mirar el código del comando debug.
As an example of using the Reader monad, we can look at the code for the debug command.
Por ejemplo, supongamos que estamos desarrollando una aplicación controlada por permisos y queremos usar la monada Reader para mantener el objeto con los permisos del usuario actual.
For example, suppose we were developing an application controlled by permissions, and we wanted to use the Reader monad to hold the current user's permissions object.
Mientras que la monada State proporciona la capacidad de leer y escribir un único fragmento de estado mutable, la monada Reader solo proporciona la capacidad de leer un único fragmento de datos.
Whereas the State monad provides the ability to read and write a single piece of mutable state, the Reader monad only provides the ability to read a single piece of data.
Para ejecutar un cálculo en la monada Reader se puede usar la función runReader para suministrar la configuración global
To run a computation in the Reader monad, the runReader function can be used to provide the global configuration
Además de las ya mencionadas leyes monádicas, existen distintos tipos de monadas ya definidas, como la monada Reader.
Apart from the abovementioned monadic laws, there are some predefined monads, such as the Reader one.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.