Functional Programming in Lean

This is an introductory book to programming in Lean 4, a pure functional language that started as a theorem prover at Microsoft Research by Leonardo de Moura. It is a dependently typed language similar to Idris, with many features inspired by Haskell.

Though definitely not a language "ready for prime time", Lean is remarkably user-friendly with its clean syntax, hygienic macros, package system (inspired by rust's cargo) and VSCode and emacs plugins.

If you are interested in pure functional programming and a taste of proof assistants, check the book out.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming
  • ethstaker
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • InstantRegret
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • cisconetworking
  • GTA5RPClips
  • kavyap
  • mdbf
  • megavids
  • tester
  • osvaldo12
  • tacticalgear
  • khanakhh
  • everett
  • modclub
  • anitta
  • Leos
  • cubers
  • normalnudes
  • provamag3
  • JUstTest
  • lostlight
  • All magazines