Abstract
This paper describes the visual design of blocks for editing code in the functional language Haskell. The aim of the proposed blocks-based environment is to support students' initial steps in learning functional programming. Expression blocks and slots are shaped to ensure constructed code is both syntactically correct and preserves conventional use of whitespace. The design aims to help students learn Haskell's sophisticated type system which is often regarded as challenging for novice functional programmers. Types are represented using text, color and shape, and empty slots indicate valid argument types in order to ensure that constructed code is well-Typed.
Original language | English |
---|---|
Title of host publication | Proceedings of the 2019 IEEE Blocks and Beyond Workshop (B&B) |
Editors | Mark Sherman, Franklyn Turbak |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 31-35 |
Number of pages | 5 |
ISBN (Electronic) | 978-1-7281-4849-6 |
ISBN (Print) | 978-1-7281-4850-2 |
DOIs | |
Publication status | Published - 26 Dec 2019 |
Event | 3rd IEEE Blocks and Beyond Workshop, B and B 2019 - Memphis, United States Duration: 18 Oct 2019 → … |
Conference
Conference | 3rd IEEE Blocks and Beyond Workshop, B and B 2019 |
---|---|
Country/Territory | United States |
City | Memphis |
Period | 18/10/19 → … |
Keywords
- noissn