The following expression creates a successor function for integers:
var inc = (x:Int) => x+1
Variable inc is now a function that can be used the usual way:
var x = inc(7)-1
| status | not read | reprioritisations | ||
|---|---|---|---|---|
| last reprioritisation on | suggested re-reading day | |||
| started reading on | finished reading on |