felixSchl/neodoc

Provide warnings

felixSchl opened this issue · 0 comments

All parsers sit atop the RWS monad, where currently the writer is Unit. We can swap it out to accumulate warnings related to parsing the spec and present it to the developer if warnings are enabled (or not disabled).

As a first step, warnings don't have to show the source spans, but that can be added, too later.