Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Ben Hutchison - Getting Work Done with the Eff Monad in Scala

Автор: Compose Conference

Загружено: 2016-09-19

Просмотров: 4580

Описание:

Ben Hutchinson's talk at Compose :: Conference in Melbourne, 2016.

--
This talk introduces the Eff monad via Eff-cats Scala library, and gives a sense of how use it to solve practical programming problems.

The Eff-cats library is an implementation of the Freer monad concept in Scala, developed by Eric Torreborre. It is inspired by Oleg Kiselyov's Haskell paper 'Freer Monads, More Extensible Effects' . Like Monad Transformer stacks and the Free monad, it provides an organising principle for the construction of pure functional programs. It has a number of desirable qualities:

Purity: the construction of the program is decoupled from its interpretation
Type-safety: Effects such as error handling or asychronicity are visible in the type signatures
Flexible effect stacks: the final effect stack members can be varied without unduly affecting local code
Performance: scales gracefully, as the program is stored as a Vector of continuations
Flexible evaluation: effects interpretation can be reordered without rewriting the program
This talk focuses on what code written using the Eff monad looks and feels like. It covers several common Eff 'effects' including

Using Reader effects for dependency injection
Using Either effects for error handling
State effects for stateful computation
It will also demonstrate some challenges that arise when using Eff and how to tackle them:

Adding new effects to an existing program
Mixing Eff-based and non-Eff modules together
--

http://www.composeconference.org/2016...

Ben Hutchison - Getting Work Done with the Eff Monad in Scala

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

George Wilson - The Extended Functor Family

George Wilson - The Extended Functor Family

The Making of an IO - Daniel Spiewak

The Making of an IO - Daniel Spiewak

A Tase Of ATS

A Tase Of ATS

scale.bythebay.io: Лука Якобовиц, создание безтегового финального DSL для WebGL в Scala

scale.bythebay.io: Лука Якобовиц, создание безтегового финального DSL для WebGL в Scala

Bidirectional Type Checking

Bidirectional Type Checking

Scala: Beyond the basics with Christopher Batey

Scala: Beyond the basics with Christopher Batey

Richard Eisenberg on Dependent Types

Richard Eisenberg on Dependent Types

The Eff monad, one monad to rule them all by Eric Torreborre at Scalar Conf 2016:

The Eff monad, one monad to rule them all by Eric Torreborre at Scalar Conf 2016:

Gabriel Volpe - Cats Effect: The IO Monad for Scala

Gabriel Volpe - Cats Effect: The IO Monad for Scala

Free as in Monads by Daniel Spiewak

Free as in Monads by Daniel Spiewak

Pure Functional Database Programming with Fixpoint Types—Rob Norris

Pure Functional Database Programming with Fixpoint Types—Rob Norris

George Wilson  - An Intuition for Propagators  - Compose Melbourne 2019

George Wilson - An Intuition for Propagators - Compose Melbourne 2019

«Сыграй На Пианино — Я Женюсь!» — Смеялся Миллиардер… Пока Еврейка Не Показала Свой Дар

«Сыграй На Пианино — Я Женюсь!» — Смеялся Миллиардер… Пока Еврейка Не Показала Свой Дар

The Interpreter Pattern Revisited

The Interpreter Pattern Revisited

физтех отжигает на псевдонаучке ФизФака МГУ Full HD

физтех отжигает на псевдонаучке ФизФака МГУ Full HD

The Death of Monads? Direct Style Algebraic Effects

The Death of Monads? Direct Style Algebraic Effects

Beyond Scala Lenses—Julien Truffaut

Beyond Scala Lenses—Julien Truffaut

Теренс Тао о том, как Григорий Перельман решил гипотезу Пуанкаре | Лекс Фридман

Теренс Тао о том, как Григорий Перельман решил гипотезу Пуанкаре | Лекс Фридман

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Move Over Free Monads: Make Way for Free Applicatives! — John de Goes

Move Over Free Monads: Make Way for Free Applicatives! — John de Goes

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]