Skip to content
0:00 / 0:00

#administrativenormalform#anf#ghc

11 6 Administrative normal form continued

ICFP Video

3.8K subscribers • 33 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Advanced. Deep dive for people who know the field.

184 views10 years ago1 recommendation

Programming languagesSystems programmingCompilers and interpretersLanguage design and type systemsHaskell

An explanation of administrative normal form and its role in compiler optimizations for functional languages.

The uploader added no description.

Why it's here

1 person recommends this

What people say. Recommended for its detailed explanation of compiler optimizations and administrative normal form in Haskell.

u/gallaisin r/haskell • Recommends

On “Fast Haskell: Competing with C at parsing XML”

If you look at the code, you'll see that calls to `elemIndexFrom` are immediately cased on to dispatch between `Just` and `Nothing`. My intuition is that adding the `INLINE` pragma to `elemIndexFrom` gives Haskell the opportunity to fire some optimizations. This HIW talk goes into more details on related matters.