How to tell if a haskell sourcecode has Bang

80 views Asked by At

Is there any library function that tells if a given .hs file uses strictness annotation? Or do I have to go into the syntax tree?

1

There are 1 answers

0
rem On BEST ANSWER

Was able to figure this out with the parsers in Language.Haskell.Exts, which is from haskell-src-exts. Thanks luqui!