HS

0 programs Taxonomy-only · no LLM program Evidence Report issue View issues
Aliases: haskell

Sources mentioning this language

4 sources · pl_id: pl/hs
PygmentsWikipediaEsolangWikidata · Q34010

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmspurely functional
Typinginferred, static, strong
Designed byLennart Augustsson · Dave Barton · Brian Boutel · Warren Burton · Joseph Fasel · Kevin Hammond · Ralf Hinze · Paul Hudak · John Hughes · Thomas Johnsson · Mark Jones · Simon Peyton Jones · John Launchbury · Erik Meijer · John Peterson · Alastair Reid · Colin Runciman · Philip Wadler
First appeared1990
Influenced byClean · FP · Gofer · Hope · Hope + · Id · ISWIM · KRC · Lisp · Miranda · ML · Standard ML · Orwell · SASL · Scheme · SISAL
Homepagehttp://haskell.org

Extensions claimed by this language

1 claim. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.hspygmentsprimary12.6M files

Programs

No programs recorded for this language yet.

Real programs from Software Heritage

1 sample mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
MultiVelocity.hs · 564 B · ext .hs · seen 60× in SWH
via fallback
swh:1:cnt:4b0617101f8cb3b1a30d8b37b780286b7ef38308;origin=https://github.com/oswald2/DGPatchMaker;anchor=swh:1:rev:d3de65d0031d01766adcce2d107ddea296b2f861;path=/src/Data/MultiVelocity.hs
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
{-# LANGUAGE OverloadedStrings, BangPatterns #-}
module Data.MultiVelocity
where



import System.FilePath


import Data.Text as T



getFiles :: FilePath -> IO (Either Text [FilePath])
getFiles path =
    if doesDirectoryExist path
        then do
            cont' <- getDirectoryContents
            let cont = filter (not elem [".", ".."]) cont'
            return (Right cont)
        else do
            return (Left (pack path T.++ " is not a directory"))


getVelocity :: FilePath -> Int
getVelocity file = 0
    where
        filename = takeFileName file

Contribute — propose a file extension

Tell us where to find evidence about HS (mapped to pl/hs). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/HS/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← hrqr HSAIL →