GHC optimization and fusion You may have seen GHC pragmas with mysterious rules and phase indication in the source code of some great Haskell libraries like ‘text’ or ‘vector’. What is this all about? How do you use them in your project? As it turns out, it's easier than you may think. The tutorial walks through the details of using GHC pragmas such as INLINE, SPECIALIZE, and RULES to improve the