Тёмный

The Haskell Unfolder Episode 30: runST 

Well-Typed
Подписаться 1,8 тыс.
Просмотров 754
50% 1

In Haskell, the ST type offers a restricted subset of the IO functionality: it provides mutable variables, but nothing else. The advantage is that we can use mutable storage locally, because unlike IO, ST allows us to escape from its realm via the function runST. However, runST has a so-called rank-2 type. In this episode, we will discuss why this seemingly complicated type is necessary to preserve the safety of the operation.

Опубликовано:

 

20 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
The Haskell Unfolder Episode 31: nothunks
37:05
Being Competent With Coding Is More Fun
11:13
Просмотров 55 тыс.
Recursion - To hone a skill, one must practice.
10:54
05-02 The IO Type (Introduction to Haskell)
23:02
Functional Programming & Haskell - Computerphile
9:19
Просмотров 666 тыс.
Turns out REST APIs weren't the answer (and that's OK!)
10:38