Популярное

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

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

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

Топ запросов

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

Compose :: Melbourne 2017 - Jurriaan Hage - Domain-Specific Type Error Diagnosis in GHC

Автор: Compose Conference

Загружено: 2017-10-19

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

Описание:

http://www.composeconference.org/2017...

With its advanced type system, the purely functional language Haskell is extremely well-suited for developing applications based on embedded domain specific languages (EDSL) for domains where the quality of software is critical to success (e.g., the financial sector). To the compiler an EDSL is no different from any other library written in Haskell; to the user of the EDSL, it is a library that allows her to express her solution to a problem in her domain in a syntax (fluency) reminiscent of that of the domain. But one problem continues to plague the end users of EDSLs: whenever a type error occurs, the encoding of the domain inside the host language Haskell leaks out in those error message. And this encoding is exactly what the EDSL developers were trying to hide! In this talk we demonstrate how type error diagnosis can be made domain-specific by type level programming. We have implemented this in the Glasgow Haskell Compiler, the industrial-strength compiler for Haskell. With relatively small modifications to the compiler, we can show huge gains in terms of domain-aware type error messages, and suggestions on how to fix a given type error. Our solution has more advantages: existing EDSLs can be easily wrapped with specialized error diagnosis, the wrapping is invisible to the end user, and the soundness of the type system is guaranteed by the compiler. The abstractions provided by type-level programming allow us to describe and reuse common patterns in type error diagnosis, lowering the entry barrier for DSL authors.

The talk will consist of an explanation and demonstration of what our technology, as implemented in our branch of GHC, allows EDSL developers to do.

About Jurriaan Hage

Jurriaan Hage is assistant professor at Utrecht University. His work in programming technology is largely focused on two aspects: the optimisation of functional languages by means of type and effect systems, and type error diagnosis for strongly typed functional languages. He is currently the lead maintainer of the Helium compiler for learning Haskell. You can also talk to him about soft typing dynamic languages, program plagiarism detection and switching classes.

Compose :: Melbourne 2017 - Jurriaan Hage - Domain-Specific Type Error Diagnosis in GHC

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

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

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

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

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

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

Bidirectional Type Checking

Bidirectional Type Checking

Compose :: Melbourne 2017 - Huw Campbell - Grenade - Dependently Typed Neural Networks in Haskell

Compose :: Melbourne 2017 - Huw Campbell - Grenade - Dependently Typed Neural Networks in Haskell

A Tase Of ATS

A Tase Of ATS

From Rails to Elm and Haskell

From Rails to Elm and Haskell

НЕВЕРОЯТНАЯ ЗАДАЧКА ОТ СЕРГЕЯ ТРАВКИНА ПРО БЕЛЫЕ И ЧЁРНЫЕ ШАРЫ!!!!! ВЗРЫВ МОЗГА!!!!

НЕВЕРОЯТНАЯ ЗАДАЧКА ОТ СЕРГЕЯ ТРАВКИНА ПРО БЕЛЫЕ И ЧЁРНЫЕ ШАРЫ!!!!! ВЗРЫВ МОЗГА!!!!

Bossa Nova Jazz - Best Bossa Nova Covers 2025 for a Relaxing Vibe

Bossa Nova Jazz - Best Bossa Nova Covers 2025 for a Relaxing Vibe

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

50 Best of Chopin: Nocturnes, Études, Waltzes...

50 Best of Chopin: Nocturnes, Études, Waltzes...

4 часа Шопена для обучения, концентрации и релаксации

4 часа Шопена для обучения, концентрации и релаксации

George Wilson  - An Intuition for Propagators  - Compose Melbourne 2019

George Wilson - An Intuition for Propagators - Compose Melbourne 2019

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

Compose :: Melbourne 2017 - Andrew Sorenson - Keynote

Compose :: Melbourne 2017 - Andrew Sorenson - Keynote

4 Hours Chopin for Studying, Concentration & Relaxation

4 Hours Chopin for Studying, Concentration & Relaxation

2 HOURS :: Yann Tiersen, 6 pièces pur piano

2 HOURS :: Yann Tiersen, 6 pièces pur piano "Amélie", Piano Cover by Rose Wilson

Как работает компьютер? Шины адреса, управления и данных. Дешифрация. Взгляд изнутри!

Как работает компьютер? Шины адреса, управления и данных. Дешифрация. Взгляд изнутри!

🔴 NOCNA ZMIANA | KAMILA BIEDRZYCKA & DR MIROSŁAW OCZKOŚ

🔴 NOCNA ZMIANA | KAMILA BIEDRZYCKA & DR MIROSŁAW OCZKOŚ

Программирование с использованием математики | Лямбда-исчисление

Программирование с использованием математики | Лямбда-исчисление

Scarlatti: Sonatas

Scarlatti: Sonatas

Jack Kelly  - Reflex Outside the Browser - Compose Melbourne 2019

Jack Kelly - Reflex Outside the Browser - Compose Melbourne 2019

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



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



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