HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
luke-clifton
shh
Haskell2023–2024
luke-clifton / shh

shh

Simple shell like scripting from Haskell

4Distinct people
5Mentions
1Explicit recommenders
292GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Simple shell like scripting from Haskell

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

Author of Shh [0] here. I've replaced a lot of Bash with Haskell (it's great!). I wrote Shh to help me out with that. I ended up liking PyF [1] for quasiquoting. A friend of…

themk used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month5 dated mentions

Observed mentions: 2023-11-23 23:07:34 UTC to 2024-10-03 06:23:04 UTC.

012342023-11-01 00:00:00 UTC to 2023-12-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 commentsNov 20232023-12-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2024-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-02-01 00:00:00 UTC to 2024-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-01 00:00:00 UTC to 2024-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-04-01 00:00:00 UTC to 2024-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 20242024-05-01 00:00:00 UTC to 2024-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-01 00:00:00 UTC to 2024-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-01 00:00:00 UTC to 2024-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 00:00:00 UTC to 2024-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-01 00:00:00 UTC to 2024-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-10-01 00:00:00 UTC to 2024-11-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 20232023-11-01 00:00:00 UTC2023-12-01 00:00:00 UTC413
Dec 20232023-12-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
Jan 20242024-01-01 00:00:00 UTC2024-02-01 00:00:00 UTC000
Feb 20242024-02-01 00:00:00 UTC2024-03-01 00:00:00 UTC000
Mar 20242024-03-01 00:00:00 UTC2024-04-01 00:00:00 UTC000
Apr 20242024-04-01 00:00:00 UTC2024-05-01 00:00:00 UTC000
May 20242024-05-01 00:00:00 UTC2024-06-01 00:00:00 UTC000
Jun 20242024-06-01 00:00:00 UTC2024-07-01 00:00:00 UTC000
Jul 20242024-07-01 00:00:00 UTC2024-08-01 00:00:00 UTC000
Aug 20242024-08-01 00:00:00 UTC2024-09-01 00:00:00 UTC000
Sep 20242024-09-01 00:00:00 UTC2024-10-01 00:00:00 UTC000
Oct 20242024-10-01 00:00:00 UTC2024-11-01 00:00:00 UTC101

What Hacker News says

5 sources
FWIW there are several Haskell and OCaml shell projects on this wiki page, which is editable: Internal DSLs for Shell - https://github.com/oils-for-unix/oils/wiki/Internal-DSLs-for... and ones in many other languages like Scheme and Lisp e.g. https://github.com/jgoerzen/hsh/wiki https://github.com/luke-clifton/shh/tree/master/shh And also a page of alternative shells: https://github.com/oils-for-unix/oils/wiki/Alternative-Shell...
In A Tour of Hell – Shell scripting Haskell dialect
shh is a really cool package, and so is turtle and shelly: https://hackage.haskell.org/package/turtle/docs/Turtle-Tutor... https://hackage.haskell.org/package/shelly shh's "Alternatives" section summarises nicely some of the differences between these: https://github.com/luke-clifton/shh#alternatives shh has a neat [fmt| ... |] macro that gets you around escaping strings. shh generally has more Template Haskell support; you may or may not like this. I am personally leaning towards shh because of its "native pipe style".
In Shh: Simple Shell Scripting from Haskell
Author here. My main use for this is incremental migration away from bash. I'm not saying this is the best way to do scripts, but it's a pretty great stepping stone. Just following the cargo culting guide [0] can already uplift a bash script without changing the logic too much. From there you can start adding structure. My secondary use case is little scripts in NixOS/nixpkgs. There are some helpers in there that make it quite convenient. [0] https://github.com/luke-clifton/shh/blob/master/docs/porting...
In Shh: Simple Shell Scripting from Haskell
themk·Nov 23, 2023Recommendation phrase
Author of Shh [0] here. I've replaced a lot of Bash with Haskell (it's great!). I wrote Shh to help me out with that. I ended up liking PyF [1] for quasiquoting. A friend of mine worked with the author a while ago to strip down it's dependencies, so it's easy to justify. It's what I recommend in my cargo culting guide [2]. [0] https://hackage.haskell.org/package/shh [1] https://hackage.haskell.org/package/PyF [2] https://github.com/luke-clifton/shh/blob/master/docs/porting...
In Shellcheck finds bugs in your shell scripts

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.