English Esperanto
You are viewing this page in Basic HTML view [Switch to a different view]
.HS
Not to be confused with hs
MIME type: text/x-haskell
Is binary? No
Is encrypted? No
Can execute dangerous code? Yes (example: malware written in the programming language)
Related extensions: .HS .lHS .LHS
Internet Media types: None
Uniform Type Identifier (UTI) ????
Type code ????
Magic number ????
The capital doesn't differentiate the 2 files by much. They both still function the same.
A .HS file has multiple definitions. See below for examples.
Click/tap here to expand/collapse this section
Any (Windows, Windows 9x, Windows NT, Linux, GNU/Linux, Classic MacOS, MacOS, MacOS X, OS X, iOS, Android, OS/2, ChromiumOS, ChromeOS, Solaris, FreeBSL, NetBSD, OpenBSD, DragonflyBSD, etc.)
Opens with:
Gedit (GNOME/Linux) (free & Libre) (Open Source)
Notepad++ (Windows NT, Linux (free & Libre) (Open Source))
GNOME Text Editor (GNOME/Linux) (free & Libre) (Open Source)
Eclipse (IDE, Windows, MacOS, Linux, BSD) (Free) (Open source)
Notepad (Windows, included with all versions of the operating system) (Proprietary)
IntelliJ Jetbrains Haskell extension (IDE, Windows, MacOS, Linux) (requires a subscription) (proprietary)
Other/Suggest one
Click/tap here to expand/collapse the definitions for this file
Definition 1: Haskell Source code
A .HS file is a source code file for the Haskell programming language.
Here is an example of a Hello World program in this language:
module Main (main) where -- not needed in interpreter, is the default in a module file
main :: IO () -- the compiler can infer this type definition
main = putStrLn "Hello, World!"
Definition 2: Pseudo-extension (null)
A pseudo-extension is a file format that is applied to a file, despite not having a purpose, other than to change the file name (such as EDUCATION.HS or LAUG.HS) however this file extension is rarely used as a pseudo-extension
Alternatives
None listed
No other definitions
Limitations and problems
Unknown
History
No history to show. Maintainers of this project should add a history of the format here.
Version history
There are only ? versions of the Haskell programming language, which are used in this file.
The following table needs to be reformatted.
Usage
HS files are used to write and execute Haskell programs.
No other definitions
Shebang? Unknown
Encoding: Unknown
File icon
Click/tap here to expand/collapse this section
GNOME 1:
GNOME 2:
GNOME 3:
GNOME 40:
GNOME 41:
KDE 1:
KDE 2:
KDE 3:
KDE 4:
KDE 5:
XFCE:
LXQT:
CINNAMON:
Common Desktop Environment (CDE):
MacOS (Classic):
MacOS (Mac OS X):
MacOS (OS X):
MacOS (MacOS 10.10-10.12):
MacOS (Modern, pre-MacOS11):
MacOS (Modern, MacOS11):
WinRAR:
Android:
iOS:
Windows (DOS):
Windows (9x):
Windows (NT):
Solaris: