中文
相关论文

相关论文: Book review "The Haskell Road to Logic, Maths and …

200 篇论文

Using the programming language Haskell, we introduce an implementation of propositional calculus, number theory, and a simple imperative language that can evaluate arithmetic and boolean expressions. Finally, we provide an implementation of…

编程语言 · 计算机科学 2021-12-28 Boro Sitnikovski

Equational reasoning is one of the key features of pure functional languages such as Haskell. To date, however, such reasoning always took place externally to Haskell, either manually on paper, or mechanised in a theorem prover. This…

编程语言 · 计算机科学 2018-06-12 Niki Vazou , Joachim Breitner , Will Kunkel , David Van Horn , Graham Hutton

In recent years we have explored using Haskell alongside a traditional mathematical formalism in our large-enrolment university course on topics including logic and formal languages, aiming to offer our students a programming perspective on…

计算机与社会 · 计算机科学 2022-08-10 Matthew Farrugia-Roberts , Bryn Jeffries , Harald Søndergaard

This book can be seen either as a text on theorem proving that uses techniques from general algebra, or else as a text on general algebra illustrated and made concrete by practical exercises in theorem proving. The book considers several…

计算机科学中的逻辑 · 计算机科学 2021-01-19 Joseph A. Goguen

Since its birth as a new scientific body of knowledge in the late 1950s, computer programming has become a fundamental skill needed in many other disciplines. However, programming is not easy, it is prone to errors and code re-use is key…

编程语言 · 计算机科学 2026-02-20 Paulo R. Pereira , Jose N. Oliveira

Many Haskell textbooks explain the evaluation of pure functional programs as a process of stepwise rewriting using equations. However, usual implementation techniques perform program transformations that make producing the corresponding…

编程语言 · 计算机科学 2024-07-17 Pedro Vasconcelos , Rodrigo Marques

We demonstrate how methods in Functional Programming can be used to implement a computer algebra system. As a proof-of-concept, we present the computational-algebra package. It is a computer algebra system implemented as an embedded…

符号计算 · 计算机科学 2018-10-02 Hiromi Ishii

We describe a method for deepening a student's understanding of basic physics by asking the student to express physical ideas in a functional programming language. The method is implemented in a second-year course in computational physics…

计算机与社会 · 计算机科学 2014-12-17 Scott N. Walck

Ability to use definitions occurring in the code directly in equational reasoning is one of the key strengths of functional programming. This is impossible in the case of Haskell type class methods unless a particular instance type is…

编程语言 · 计算机科学 2020-07-02 Härmel Nestra

Logic programming languages present clear advantages in terms of declarativeness and conciseness. However, the ideas of logic programming have been met with resistance in other programming communities, and have not generally been adopted by…

编程语言 · 计算机科学 2026-01-08 Ivan Perez , Angel Herranz

A logic program is an executable specification. For example, merge sort in pure Prolog is a logical formula, yet shows creditable performance on long linked lists. But such executable specifications are a compromise: the logic is distorted…

编程语言 · 计算机科学 2015-09-29 M. H. van Emden

Language model-based code completion models have quickly grown in use, helping thousands of developers write code in many different programming languages. However, research on code completion models typically focuses on imperative languages…

计算与语言 · 计算机科学 2024-03-25 Tim van Dam , Frank van der Heijden , Philippe de Bekker , Berend Nieuwschepen , Marc Otten , Maliheh Izadi

Discrete mathematics is the foundation of computer science. It focuses on concepts and reasoning methods that are studied using math notations. It has long been argued that discrete math is better taught with programming, which takes…

计算机与社会 · 计算机科学 2021-10-07 Yanhong A. Liu , Matthew Castelllana

Learning functional programming requires learning a substitution-based computational model. While substitution should be a familiar concept from high-school algebra, students often have difficulty applying it to new settings, such as…

编程语言 · 计算机科学 2025-08-06 Pedro Vasconcelos

In large language models (LLMs), code and reasoning reinforce each other: code offers an abstract, modular, and logic-driven structure that supports reasoning, while reasoning translates high-level goals into smaller, executable steps that…

A logic programming paradigm which expresses solutions to problems as stable models has recently been promoted as a declarative approach to solving various combinatorial and search problems, including planning problems. In this paradigm,…

人工智能 · 计算机科学 2007-05-23 Maurice Bruynooghe

Software frequently converts data from one representation to another and vice versa. Naively specifying both conversion directions separately is error prone and introduces conceptual duplication. Instead, bidirectional programming…

编程语言 · 计算机科学 2019-02-20 Li-yao Xia , Dominic Orchard , Meng Wang

We commonly think of mathematics as bringing precision to application domains, but its relationship with computer science is more complex. This experience report on the use of Racket and Haskell to teach a required first university CS…

编程语言 · 计算机科学 2013-01-23 Prabhakar Ragde

Good tools can bring mechanical verification to programs written in mainstream functional languages. We use hs-to-coq to translate significant portions of Haskell's containers library into Coq, and verify it against specifications that we…

While functional programming is an efficient way to express complex software, functional programming languages have a steep learning curve. Haskell can be challenging to learn for students who were only introduced to imperative programming.…

编程语言 · 计算机科学 2019-06-28 Boldizsár Németh , Eunjong Choi , Erina Makihara , Hajimu Iida
‹ 上一页 1 2 3 10 下一页 ›