Популярное

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

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

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

Топ запросов

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

Do more with your types: GADTs and LiquidHaskell

Автор: Xebia Functional (formerly 47 Degrees)

Загружено: 2020-08-25

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

Описание:

One of the main selling points of Haskell is its strong type system. How can you squeeze it even further, and go beyond the type systems limits? And when should you do that?

This talk provides an introduction about two seemingly disparaging topics, which share a common goal: to provide a more expressive type language to be more precise in describing values. On the one hand, we have Generalized Algebraic Data Types (GADTs for short), a very popular GHC extension. On the other hand, we have LiquidHaskell, a plug-in for the GHC compiler which adds support for so-called refinement types.

Both approaches give you tools to prevent the hideous “head applied to an empty list” problem without having to manually check for emptiness. Instead, we make our tools more aware of the shape of the values (the length of the list, in this case), so it can automatically check whether calls to head are correct at compile-time.

Do more with your types: GADTs and LiquidHaskell

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

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

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

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

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

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

Async and Concurrent Error Handling & Cancellation

Async and Concurrent Error Handling & Cancellation

Lambda World Meetup

Lambda World Meetup "Q: Programming as a Tool of Thought" – Jesús López-González

Перетест Ai MAX+ 395 в жирном мини-ПК и тест AMD 8060s vs Intel B390

Перетест Ai MAX+ 395 в жирном мини-ПК и тест AMD 8060s vs Intel B390

Как Россия учится летать на старых самолетах

Как Россия учится летать на старых самолетах

ХОДОРКОВСКИЙ против ПАСТУХОВА: Трамп и Гренландия. Слом порядка или революция? США. Европа. Путин

ХОДОРКОВСКИЙ против ПАСТУХОВА: Трамп и Гренландия. Слом порядка или революция? США. Европа. Путин

Stay Focused All Night — Future Garage Mix for Work

Stay Focused All Night — Future Garage Mix for Work

Colombia Scala Meetup: Lessons Learned from Implementing an Efficient Functional Mutex

Colombia Scala Meetup: Lessons Learned from Implementing an Efficient Functional Mutex

Immutable Data: Your Next Superpower | Let's talk about Scala 3

Immutable Data: Your Next Superpower | Let's talk about Scala 3

Мои программы для Вайб-кодинга

Мои программы для Вайб-кодинга

Haskell

Haskell

The Man Behind Google's AI Machine | Demis Hassabis Interview

The Man Behind Google's AI Machine | Demis Hassabis Interview

it only took 2 characters

it only took 2 characters

Превращение старого ноутбука в домашний сервер! (2026)

Превращение старого ноутбука в домашний сервер! (2026)

Kinds vs. Types in the Haskell Type System

Kinds vs. Types in the Haskell Type System

Colombia Scala Meetup: Where did the implicits go? - Scala talk by Esteban Marin

Colombia Scala Meetup: Where did the implicits go? - Scala talk by Esteban Marin

Ваш старт в ЧПУ: Lunyee CNC 3018 Ultra. Оцениваем точность, примеряемся к возможностям

Ваш старт в ЧПУ: Lunyee CNC 3018 Ultra. Оцениваем точность, примеряемся к возможностям

Расслабляющая музыка, чтобы снять стресс, беспокойство и депрессию • разум, тело #23

Расслабляющая музыка, чтобы снять стресс, беспокойство и депрессию • разум, тело #23

Typeclasses in Scala 3 | Colombia Scala meetup/Scala at the Sea

Typeclasses in Scala 3 | Colombia Scala meetup/Scala at the Sea

Doxygen и его остроумное устройство • Исследуем и применяем • C • Live coding

Doxygen и его остроумное устройство • Исследуем и применяем • C • Live coding

Bloomberg Surveillance 1/21/2026

Bloomberg Surveillance 1/21/2026

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



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



Контакты для правообладателей: infodtube@gmail.com