- Добавил: literator
- Дата: 17-03-2023, 16:49
- Комментариев: 0
Название: Introduction to Dependent Types with Idris: Encoding Program Proofs in Types
Автор: Boro Sitnikovski
Издательство: Apress
Год: 2023
Страниц: 128
Язык: английский
Формат: pdf
Размер: 10.2 MB
Idris is a programming language designed to encourage Type-Driven Development. Dependent types are a concept that allows developers to write proof-carrying code. In Idris, types are first-class constructs in the language. This means types can be passed as arguments to functions, and returned from functions just like any other value, such as numbers, strings, or lists. This book will teach you the mathematical foundations of Idris as well as how to use it to write software and mathematically prove properties. Idris is a general-purpose functional1 programming language that supports dependent types. The features of Idris are influenced by Haskell, another general-purpose functional programming language. Thus, Idris shares many features with Haskell, especially in the part of syntax and types, where Idris has a more advanced type system. There are several other programming languages that support dependent types; however, I chose Idris for its readable syntax.
Автор: Boro Sitnikovski
Издательство: Apress
Год: 2023
Страниц: 128
Язык: английский
Формат: pdf
Размер: 10.2 MB
Idris is a programming language designed to encourage Type-Driven Development. Dependent types are a concept that allows developers to write proof-carrying code. In Idris, types are first-class constructs in the language. This means types can be passed as arguments to functions, and returned from functions just like any other value, such as numbers, strings, or lists. This book will teach you the mathematical foundations of Idris as well as how to use it to write software and mathematically prove properties. Idris is a general-purpose functional1 programming language that supports dependent types. The features of Idris are influenced by Haskell, another general-purpose functional programming language. Thus, Idris shares many features with Haskell, especially in the part of syntax and types, where Idris has a more advanced type system. There are several other programming languages that support dependent types; however, I chose Idris for its readable syntax.