
19 Jul
2016
19 Jul
'16
5:39 a.m.
Ömer Sinan Ağacan
I managed to do this without introducing any new pragmas. I added a new production that doesn't look for SCC annotations, for top-level expressions. I then used it in decl_no_th and topdecl.
Yay! I'll admit I wasn't a fan of the SCC_FUNCTION proposal. SCC pragmas are already rather wordy with the {-# #-} delimiters and quotes. SCC_FUNCTION is even worse. Cheers, - Ben