text/x-haskell
Haskell source code
| Description | Haskell source code |
|---|---|
| File extensions | .hs |
| Based on | text/plain |
Frequently asked questions
What is the MIME type text/x-haskell?
text/x-haskell denotes “Haskell source code”.
Which file extension does text/x-haskell use?
Files of type text/x-haskell usually end in .hs.
How does a web server serve text/x-haskell correctly?
With the header Content-Type: text/x-haskell. In nginx: types { text/x-haskell hs; }; in Apache: AddType text/x-haskell .hs.