3 ms·
I did a simple survey of our codebase... as I think we meet your requirements for serious production Haskell. Here's the terribly inaccurate and probably mislea
by enigmo 13y ago
I did a simple survey of our codebase... as I think we meet your requirements for serious production Haskell. Here's the terribly inaccurate and probably misleading results:
Raw line count:
destroyer:alphaHeavy$ find . -name "*.hs" | xargs wc -l | tail -1
132272 total
Things that look like bang patterns or strict fields:
destroyer:alphaHeavy$ grep "\!" -rI . --include "*.hs" | egrep -v "\\$\!|\.\!|\!\?|\!\!" | wc -l
1344
Strict returns:
destroyer:alphaHeavy$ grep "\\$\!" -rI . --include "*.hs" | wc -l
762
Unboxed fields:
destroyer:alphaHeavy$ grep UNPACK -rI . --include "*.hs" | wc -l
298