Adobe PDF (819.36 kB)
Title Details:
Expressive Capabilities in Haskell
Authors: Stamatopoulos, Panagiotis
Reviewer: Rontogiannis, Panagiotis
Subject: MATHEMATICS AND COMPUTER SCIENCE > COMPUTER SCIENCE > PROGRAMMING LANGUAGES
MATHEMATICS AND COMPUTER SCIENCE > COMPUTER SCIENCE > INTELLIGENT SYSTEMS > BASIC KNOWLEDGE REPRESENTATION AND REASONING
MATHEMATICS AND COMPUTER SCIENCE > COMPUTER SCIENCE > PROGRAMMING LANGUAGES > LOGIC PROGRAMMING
Description:
Abstract:
In this chapter, list comprehensions in Haskell are presented, a feature that allows us to easily define various functions that operate on lists. It also discusses a fundamental characteristic of functional programming, and thus of Haskell, which is the ability to define higher-order functions, that is functions that take other functions as input or return functions as output (or both). Additionally, the chapter demonstrates how to define more complex functions through function composition, using simpler functions as basic building blocks. It explains why, in functional programming, functions are ultimately viewed as functions of a single argument, regardless of the number of arguments they take. Furthermore, the chapter explores the ability to perform formal proofs of properties for the programs we write in functional programming. It briefly mentions other important features of Haskell that, while significant, cannot be covered in detail within the scope of this text.
Linguistic Editors: Xifara, Foteini
Technical Editors: Papavasileiou, Spyridon
Graphic Editors: Papavasileiou, Spyridon
Type: Chapter
Creation Date: 2015
Item Details:
License: http://creativecommons.org/licenses/by-nc-nd/3.0/gr
Handle http://hdl.handle.net/11419/3597
Bibliographic Reference: Stamatopoulos, P. (2015). Expressive Capabilities in Haskell [Chapter]. In Stamatopoulos, P. 2015. Logic and Functional Programming [Undergraduate textbook]. Kallipos, Open Academic Editions. https://hdl.handle.net/11419/3597
Language: Greek
Is Part of: Logic and Functional Programming
Publication Origin: Kallipos, Open Academic Editions