Skip to content

Totality checking

Example of that is Idris totality checking (http://docs.idris-lang.org/en/latest/tutorial/theorems.html#sect-totality).

This feature could be started as a very specific types of pure functions which could be found to be total for sure and improve it in time. I'm putting a ticket for discussion here, because I didn't find any ticket related to that in GHC Trac.

Trac metadata
Trac field Value
Version 8.2.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information