arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.06971cs.PLcs.DM
收藏

Disco:一门面向离散数学的函数式编程语言

Disco: A Functional Programming Language for Discrete Mathematics

Brent A. Yorgey

AI总结:

Disco 是一门为离散数学课程设计的纯、严格、静态类型函数式编程语言,通过数学化记法、属性测试、代数类型和内置集合类型等特性,帮助学生在计算平台上学习函数式编程和数学。

摘要:

Disco 是一门纯、严格、静态类型的函数式编程语言,设计用于离散数学课程的教学场景。该语言的目标是尽早向学生介绍函数式编程概念,并通过提供一个可供学生动手操作的计算平台来增强他们的数学学习。Disco 具有受数学启发的记法、基于属性的测试、等递归代数类型、子类型、内置的列表、多重集和有限集类型、REPL 以及面向学生的文档。Disco 使用 Haskell 实现,源代码可在 GitHub [https://github.com/disco-lang/disco] 上获取,交互式基于 Web 的 REPL 可通过 replit [https://replit.com/@BrentYorgey/Disco#README.md] 使用。

英文摘要:

Disco is a pure, strict, statically typed functional programming language designed to be used in the setting of a discrete mathematics course. The goals of the language are to introduce students to functional programming concepts early, and to enhance their learning of mathematics by providing a computational platform for them to play with. It features mathematically-inspired notation, property-based testing, equirecursive algebraic types, subtyping, built-in list, bag, and finite set types, a REPL, and student-focused documentation. Disco is implemented in Haskell, with source code available on GitHub [https://github.com/disco-lang/disco], and interactive web-based REPL available through replit [https://replit.com/@BrentYorgey/Disco#README.md].

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑