You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
Jeremy W. Sherman edited this page Aug 10, 2015
·
1 revision
This is a collection of small exercises to help you come to grips with dependent types in Idris.
A list type that enforces ordering.
Suggested reading: Conor McBride defines a whole class of sorted structures in "How to keep your neighbours in order". In a nutshell, he advises using indices as top-down constraints on data, rather than bottom-up inferred "description". He then indexes his structures by the interval, in which the contained values must lie.