How to find out if the haskell source code is there with Bang

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

+3
haskell ghc hackage


source to share


1 answer


It was possible to figure this out with parsers in Language.Haskell.Exts, which is from haskell-src-exts. Thanks luqui!



0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics