I've seen it here and there in Idris source code, but I have yet to find an explanation for what it means. The closest I've gotten is finding that it's called RigCount
in the syntax reference. But what is it?
test : (0 a : b) -> b
test x = x
-- ^^^ Error
As it happens the above example throws an error: While processing right hand side of test. x is not accessible in this context.
Changing this to a 1 makes it type check, but it doesn't give any more indication what it means.
test : (1 a : b) -> b
test x = x