leanprover/fp-lean
소개
Functional Programming in Lean
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +8
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFunctional Programming in Lean
This repository contains the source code of the book Functional Programming in Lean by David Thrane Christiansen.
The original version of the book was released by Microsoft Corporation in 2023 under a Creative Commons Attribution 4.0 International License. The current version has been modified by the author from the original version to account for changes in newer versions of Lean and to use Verso; these changes are copyright 2023-2025 Lean FRO, LLC. A detailed account of the changes can be found in the book's source code repository.
Generally speaking, the code in this repository is not intended to work on all computers. The purpose of the repository is to produce the book's HTML for readers. In particular, it probably only works on Unix-like systems, due to the way that the built-in tests exercise the programs built in the book. Building the book requires at least a C compiler available as cc, with the POSIX headers, and a Unix-like shell.
To build the book, change to the book directory and run lake exe fp-lean. After this, book/_out/html-multi contains a multi-page Web version of the book.
To read the book locally, serve that directory over HTTP and open the address that the server prints:
lake exe verso-serve
Publishing
The book is published by pushing a tag whose name starts with release-. CI builds the tagged commit and deploys it to the production site. Publication happens on release- tags alone.
Every other build gets a preview deploy instead: pushes to master, pull requests (including those from forks), and manual runs. The preview URL appears as a netlify/deploy status on the commit that was built.
The build runs in ci.yml and hands the HTML to deploy.yml as an artifact. The credentials live in the deploy workflow, which is what lets a pull request from a fork build and preview.
관련 프로젝트 살펴보기
불러오는 중…