Comment
Comment by chongli
I'm still a beginner at Idris, but here's my attempt at a "naive" wc:
It counts lines, words, and characters. It reports errors such as an incorrect number of arguments as well as any error where the file cannot be read. Here are the stats it reports on its own source code:
Hope that helps.