eyelash
eyelash

Reputation: 3720

Is Lean 4 lazy or strict?

Lean 4 is a purely functional programming language, but is it lazy (like Haskell) or strict (like Idris) and what are the implications of this? Is there a way to opt-in (or opt-out) of laziness?

Upvotes: 8

Views: 817

Answers (1)

Leonardo de Moura
Leonardo de Moura

Reputation: 21475

Lean 4 is a strict language like Idris.

Upvotes: 7

Related Questions