Skip to content
scrambled
Programming Language Theory Flashcard

Functions that diverge vs functions that can fail?

Books Deckset theory relation

Question

Functions that diverge vs functions that can fail?

Answer

A function f fails at a value x if f(x)=error, or f(x)↑.

A function f diverges at a value x if it's not defined there.