MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/1xrkzh6/lean_explained_with_typescript/
r/webdev • u/fagnerbrack • 7d ago
3 comments sorted by
0
Not sure what the use of Lean is here (just use Rust)
But this reminds me of solving Advent of Code in a d.ts file
1 u/tlai-848 1d ago Rust and Lean solve different problems: Rust's type system helps enforce program invariants; Lean's dependent types let you encode propositions and check proofs. Lean makes sense when proof is part of the goal.
1
Rust and Lean solve different problems: Rust's type system helps enforce program invariants; Lean's dependent types let you encode propositions and check proofs. Lean makes sense when proof is part of the goal.
0
u/thekwoka 7d ago
Not sure what the use of Lean is here (just use Rust)
But this reminds me of solving Advent of Code in a d.ts file