🍺 BREW Explorer

← all casks

Hasklig

brew install --cask font-hasklig v1.2

22
30-day installs · #2968
74
90-day · #2858
328
365-day · #2649
5.7k
★ GitHub stars · updated 4y ago

GitHub topics

afdko font hasklig ligatures otf

Links

Raw metadata
{
  "alternatives": [],
  "artifacts": [
    {
      "font": [
        "OTF/Hasklig-SemiboldIt.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-SemiboldIt.otf"
    },
    {
      "font": [
        "OTF/Hasklig-BlackIt.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-BlackIt.otf"
    },
    {
      "font": [
        "OTF/Hasklig-Bold.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-Bold.otf"
    },
    {
      "font": [
        "OTF/Hasklig-BoldIt.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-BoldIt.otf"
    },
    {
      "font": [
        "OTF/Hasklig-ExtraLight.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-ExtraLight.otf"
    },
    {
      "font": [
        "OTF/Hasklig-ExtraLightIt.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-ExtraLightIt.otf"
    },
    {
      "font": [
        "OTF/Hasklig-It.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-It.otf"
    },
    {
      "font": [
        "OTF/Hasklig-Light.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-Light.otf"
    },
    {
      "font": [
        "OTF/Hasklig-LightIt.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-LightIt.otf"
    },
    {
      "font": [
        "OTF/Hasklig-Medium.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-Medium.otf"
    },
    {
      "font": [
        "OTF/Hasklig-MediumIt.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-MediumIt.otf"
    },
    {
      "font": [
        "OTF/Hasklig-Regular.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-Regular.otf"
    },
    {
      "font": [
        "OTF/Hasklig-Semibold.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-Semibold.otf"
    },
    {
      "font": [
        "OTF/Hasklig-Black.otf"
      ],
      "target": "/$HOME/Library/Fonts/Hasklig-Black.otf"
    }
  ],
  "auto_updates": null,
  "categories": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": null,
  "disable_reason": null,
  "disabled": 0,
  "display_name": "Hasklig",
  "enrichment_fetched_at": "2026-06-20T22:43:25+00:00",
  "first_seen": "2026-06-20T00:47:34+00:00",
  "full_token": "font-hasklig",
  "github_default_branch": "main",
  "github_last_commit_at": "2022-02-19T01:25:54Z",
  "github_readme_excerpt": "### Hasklig \u2013 _Ligatures for code_\n\nProgramming languages are limited to relatively few characters. As a result, combined character operators surfaced quite early, such as the widely used arrow (`-\u003e`), comprised of a hyphen and greater sign. It looks like an arrow if you know the analogy and squint a bit.\n\nComposite glyphs are problematic in languages such as Haskell which utilize these complicated operators (`=\u003e` `-\u003c` `\u003e\u003e=` etc.) extensively. The readability of such complex code improves with pretty printing. Academic articles featuring Haskell code often use [lhs2tex](https://www.andres-loeh.de/lhs2tex/) to achieve an appealing rendering, but it is of no use when programming.\n\nSome Haskellers have resorted to Unicode symbols (`\u21d2`, `\u2190` _etc._), which are valid in the \u003cspan style=\"font-variant: small-caps\"\u003eghc\u003c/span\u003e. However they are one-character-wide and therefore eye-strainingly small. Furthermore, when displayed as substitutes to the underlying multi-character representation, as [vim2hs](https://github.com/dag/vim2hs) does, the characters go out of alignment.\n\nHasklig solves the problem the way typographers have always solved ill-fitting characters which co-occur often: [ligatures](https://en.wikipedia.org/wiki/Typographic_ligature). The underlying code stays the same \u2014 only the representation changes.\n\nNot only can multi-character glyphs be rendered more vividly, other problematic things in monospaced fonts, such as spacing can be corrected.\n\n#### Hasklig\n![Hasklig Sample](hasklig_example.png?raw=true)\n\n#### Source Code Pro\n![Source Code Pro Sample](SourceCodeProSample.png?raw=true)\n\n#### Currently implemented symbols\n`\u003c*` `\u003c*\u003e` `\u003c+\u003e` `\u003c$\u003e` `***` `\u003c|` `|\u003e`  `\u003c|\u003e` `!!` `||` `===` `==\u003e` `\u003c\u003c\u003c` `\u003e\u003e\u003e` `\u003c\u003e` `+++` `\u003c-` `-\u003e` `=\u003e` `\u003e\u003e` `\u003c\u003c` `\u003e\u003e=` `=\u003c\u003c` `..` `...` `::` `-\u003c` `\u003e-` `-\u003c\u003c` `\u003e\u003e-` `++` `/=` `==`\n\n### Building the fonts from source\n\n#### Requirements\n\nTo build the binary font files from source, you need to have installed the\n[Adobe Font Development Kit for Open",
  "github_repo": "i-tu/Hasklig",
  "github_stars": 5720,
  "github_topics": [
    "afdko",
    "font",
    "hasklig",
    "ligatures",
    "otf"
  ],
  "homepage": "https://github.com/i-tu/Hasklig",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 22,
  "installs_365d": 328,
  "installs_90d": 74,
  "last_seen": "2026-06-20T00:47:34+00:00",
  "llm_generated_at": null,
  "llm_model": null,
  "names": [
    "Hasklig"
  ],
  "one_liner": null,
  "rank_30d": 2968,
  "rank_365d": 2649,
  "rank_90d": 2858,
  "raw_hash": "04878259ecc0e6d2",
  "ruby_source_path": "Casks/font/font-h/font-hasklig.rb",
  "tap": "homebrew/cask",
  "token": "font-hasklig",
  "version": "1.2",
  "why_use_this": null
}