atom-language-idris icon indicating copy to clipboard operation
atom-language-idris copied to clipboard

Should Atom warn about possibly non-total recursive functions?

Open justjoheinz opened this issue 10 years ago • 1 comments

module Sandbox

total
rec: Int -> Int
rec x = rec $ x + 1

typechecks fine within Atom (Ctrl-Alt-r). However loading the file in the REPL will additionally display Sandbox.rec is possibly not total due to recursive path Sandbox.rec. I think this information should also be made available in Atom as a message after type checking.

justjoheinz avatar Nov 15 '15 17:11 justjoheinz

yes. If I can get the information somehow it should. Thanks :)

I don't reall yhave time to do it at the moment, so it might have to wait.

archaeron avatar Nov 20 '15 10:11 archaeron