github/linguist — pull request #124 by zhensydow (2012-02-17 09:58:32+00:00)
Title: Added detection for c2hs Haskell files

C2hs program assists in the development of Haskell bindings to C libraries. It extracts interface information from C header files and generates Haskell code with foreign imports and marshaling. This ensures that C functions are imported with the correct Haskell types.

The .chs files are Haskell files that include normal Haskell code with C-like preprocessor directives and binding hooks that defines how to generate final binding code.

I added the chs file extension in the linguist module.