Get the latest tech news
Binding Application in Idris
The new binding application in Idris helps write programs with dependent pairs and other structures with lambda as the trailing argument. This post is a small collection of uses I have for it.
This feature allows writing types such as Dependent pairs in a more ergonomic way without relying on special compiler magic. It’s a syntactic feature piggybacking on the function-space of a dependent programming language that offers some customisation to the notion of binding. There are some cases where writing the predicate is a bit awkward because it cannot be written point-free and requires a lambda.
Or read this on Hacker News