Everyday Extensions

所在平台: Udemy

课程主页: https://www.udemy.com/course/everyday-extensions/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:日常扩展 概述:语言扩展可能会令人困惑,它们改变编译器的工作方式,增加功能,并改变官方 Haskell 规范的语法,形成多种编写 Haskell 的方式。然而,实际上改变语言并没有那么可怕。大多数 GHC 扩展就像开关一样:功能可以开启或关闭。 Haskell 的扩展列表相当庞大且不易导航:哪些扩展是常用且安全的?哪些扩展被认为在生产中有害?当前模块编译所需的扩展有哪些?哪一些只是从其他模块复制过来的?在 Haskell 中,扩展是不可避免的。有些开发者对某些扩展情有独钟,并在所有项目中使用它们。有些流行的库则严重依赖扩展,并强加给用户。 本课程面向那些希望理解常见扩展的学习者。我们将介绍一些常用的扩展,并研究几个无法在没有扩展的情况下使用的 Haskell 库,以获得实际洞见。在课程结束时,您将不再盲目地将扩展从一个模块复制到另一个模块,而是能以更明智的方式使用它们。 本课程要求学员具备基本的 Haskell 语法知识,您无需具备所提及库的使用经验。

课程评论(0条)

课程详情

Language extensions can be confusing. They change how the compiler works, add functionality, and change the syntax of the official Haskell specification, creating a bunch of possible ways to write Haskell. But changing the language is not as terrifying in practice. Most GHC extensions behave like switches: a feature could be either on or off.The list of Haskell extensions is quite extensive and not easy to navigate:Which extensions are common and safe to use?Which extensions are considered harmful for production use?Which extensions are required for the current module to compile and which ones were just copied from some other module?Extensions in Haskell are unavoidable. There are extensions that some developers are addicted to and carry to all their projects. There are popular libraries that heavily rely on extensions and impose them upon their users.This course is for people who want to understand extensions commonly seen in the wild. We will cover some commonly used extensions and look at a couple of Haskell libraries that can't be used without extensions to get a practical understanding. By the end of the course, you won't be blindly copying extensions from one module to another but will carry them along with awareness.This course requires a basic understanding of Haskell syntax. You don't need experience working with any of the libraries mentioned in the course.

课程标签

0人关注该课程

主题相关的课程