since 2000
Opening an LHS File
The LHS file type is primarily associated with GHC.
What is an LHS file?
LHS files mostly belong to GHC. Literate Haskell Source Files (LHS): This file type is mainly used for Haskell source code written in a literate programming style. In these files, documentation and code are mixed so that human readers get detailed explanations along with functional code.
The text portions provide clear narrative explanations. Code sections are distinguishable, often using markers like the Bird style (> at the start of code lines). Haskell compilers, such as those from the GHC system, can extract the code from the surrounding text automatically. Though on rare occasions the same extension might be used for alternative purposes (for example, a Jet Database file), the primary use is Haskell source. For more specialized details on Haskell and its literate style, you might visit Haskell.org.
FilExt.com note: These files are plain text and can be opened with any text editor, but using one with Haskell syntax support will help you read and edit them more efficiently.
FilExt.com note: These files are plain text and can be opened with any text editor, but using one with Haskell syntax support will help you read and edit them more efficiently.
How to open LHS files
You need a suitable software like GHC to open an LHS file. Without proper software you will receive a Windows message "How do you want to open this file?" or "Windows cannot open this file" or a similar Mac/iPhone/Android alert. If you cannot open your LHS file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a LHS file directly in the browser:. Just drag the file onto this browser window and drop it.
Online LHS Text Viewer
or drag and drop it here
Read our privacy guarantee in Filext’s terms and privacy policy
Please allow ads on our site
This helps us keep our servers running. Then re-upload your file to view it.Click here to see how to disable the ad blocker for filext.com
How to extract texts from LHS files or capture a screenshot to PDF, JPG, DOCX, TXT, ...
You can extract texts from LHS file or capture a preview screenshot using our online LHS file viewer:- To do this, click the button "Choose your .lhs file to view" on this page.
- After your file is opened in browser,
- click "Save as..." in the menu.
- Then choose the file format (e.g. JPG, PDF, DOCX, TXT, ...) you want.
- Your file will be converted and downloaded.
Programs that open and convert LHS files:
- GHC
See the previous paragraphs to learn more about the main application. LHS files are often referred to as GHC developers because this type of file is primarily created or used by this software.
- Literate Haskell Source File
Technical Data for LHS File Extension
File classification:
Developer
Mime type:
an lhs source code file is a special file format and should only be edited and saved with the appropriate software.
How to solve problems with LHS files
- Associate the LHS file extension with the correct application.
- Update your software that should actually open source code files. Because only the current version supports the latest LHS file format. Search, therefore, e.g. on the manufacturer website after an available GHC update.
- To make sure that your LHS file is not corrupted or virus-infected, get the file again and scan it with Google's virustotal.com.
- Click here to open your .LHS file online - secure, fast, and no downloads needed.