CONTEXTUAL ALTERNATES REFERENCE
Complete Programming Ligatures Catalog
Curated reference of 55 OpenType default-calt substitutions shipped in Sawala Mono. Each row shows the literal ASCII input (rendered in Sawala Mono NL) beside the fused ligature, so you can judge every operator before enabling ligatures in your editor.
Filter by Operator Family
Ligatures never change the advance width: a three-character operator still occupies exactly three monospace cells, so column alignment in diffs and tables stays intact.
| ASCII Input | Ligature Rendering | Name | Family | Target Languages |
|---|---|---|---|---|
| -> | -> | Thin Right Arrow | Arrows | C, C++, Rust, Haskell |
| ->> | ->> | Double-Head Right Arrow | Arrows | Scala, Haskell, Clojure |
| --> | --> | Long Thin Right Arrow | Arrows | HTML comment close, Prose |
| ---> | ---> | Extra-Long Thin Right Arrow | Arrows | Diagrams, Prose |
| <- | <- | Thin Left Arrow | Arrows | Go, R, OCaml |
| <<- | <<- | Double-Head Left Arrow | Arrows | R, Haskell |
| <-- | <-- | Long Thin Left Arrow | Arrows | Diagrams, Prose |
| <--- | <--- | Extra-Long Thin Left Arrow | Arrows | Diagrams, Prose |
| <-> | <-> | Bidirectional Thin Arrow | Arrows | Logic, Diagrams |
| <--> | <--> | Long Bidirectional Arrow | Arrows | Logic, Diagrams |
| => | => | Fat Right Arrow | Arrows | JS, TS, Rust, Scala, PHP |
| =>> | =>> | Double-Head Fat Arrow | Arrows | Haskell, Scala |
| ==> | ==> | Long Fat Right Arrow | Arrows | Logic, Prose |
| <== | <== | Long Fat Left Arrow | Arrows | Logic, Prose |
| <==> | <==> | Long Fat Bidirectional Arrow | Arrows | Logic, Proofs |
| ~~> | ~~> | Squiggly Right Arrow | Arrows | Haskell, Prose |
| <~~ | <~~ | Squiggly Left Arrow | Arrows | Haskell, Prose |
| == | == | Equality Comparison | Equality & Logical | C, Go, Python, JS |
| === | === | Strict Equality | Equality & Logical | JS, TS, PHP |
| != | != | Inequality | Equality & Logical | C, Go, Python, Rust |
| !== | !== | Strict Inequality | Equality & Logical | JS, TS, PHP |
| !=== | !=== | Triple-Bar Inequality | Equality & Logical | Extended Inequality (exeq) |
| !! | !! | Double Bang Kerning | Equality & Logical | JS, Elixir, Kotlin |
| <~ | <~ | Left Wave Arrow | Arrows | Haskell, Logic |
| <~> | <~> | Dual Wave Arrow | Arrows | Prose, Diagrams |
| <= | <= | Less Than or Equal | Equality & Logical | All C-family languages |
| >= | >= | Greater Than or Equal | Equality & Logical | All C-family languages |
| <=> | <=> | Three-Way Spaceship | Equality & Logical | C++20, Ruby, PHP, Perl |
| ||| | ||| | Triple Bar / OR Separator | Equality & Logical | Shell, Functional Pipelines |
| || | || | Logical OR | Equality & Logical | C, JS, Rust, Bash |
| ?? | ?? | Nullish Coalescing | Equality & Logical | TS, C#, PHP, Swift |
| /// | /// | Doc Comment / Triple Slash | Equality & Logical | Rust, C#, Dart Docstrings |
| :: | :: | Scope Resolution / Path | Scopes & Pipelines | C++, Rust, Ruby, PHP |
| ::: | ::: | Triple Colon | Scopes & Pipelines | Scala, R |
| := | := | Walrus / Short Declaration | Scopes & Pipelines | Go, Python, Pascal |
| <: | <: | Subtype Bound | Scopes & Pipelines | Scala, Julia |
| |> | |> | Forward Pipeline | Scopes & Pipelines | Elixir, F#, OCaml |
| <| | <| | Backward Pipeline | Scopes & Pipelines | Elm, F# |
| <|> | <|> | Alternative Operator | Scopes & Pipelines | Haskell, PureScript |
| <*> | <*> | Applicative Apply | Scopes & Pipelines | Haskell, PureScript |
| /* | /* | Block Comment Open | Markup & Tags | C, JS, TS, CSS, Rust |
| */ | */ | Block Comment Close | Markup & Tags | C, JS, TS, CSS, Rust |
| .. | .. | Range | Scopes & Pipelines | Rust, Swift, Kotlin, Lua |
| ... | ... | Spread / Rest / Variadic | Scopes & Pipelines | JS, TS, Go, C |
| <!-- | <!-- | HTML / XML Comment Open | Markup & Tags | HTML, XML, Markdown |
| </ | </ | Closing Tag Open | Markup & Tags | HTML, XML, JSX |
| </> | </> | Empty Fragment | Markup & Tags | JSX, TSX |
| /> | /> | Self-Closing Tag | Markup & Tags | HTML, XML, JSX |
| <> | <> | Fragment / Diamond | Markup & Tags | JSX, Java, SQL |
| --- | --- | Em-Dash / Triple Hyphen | Arithmetic & Misc | Markdown Frontmatter, SQL Comments |
| +++ | +++ | Triple Plus | Arithmetic & Misc | Haskell, Scala, Diffs |
| *= | *= | Multiply-Assign | Arithmetic & Misc | C, JS, Python |
| *+ | *+ | Star-Plus Combinator | Arithmetic & Misc | Parser combinators |
| >>= | >>= | Monadic Bind / Shift-Assign | Arithmetic & Misc | Haskell, C, Rust |
| ___ | ___ | Triple Underscore | Arithmetic & Misc | Markdown HR, Section Dividers |
Ligatures not rendering? Your editor must enable OpenType contextual alternates
(
font-feature-settings: "calt" 1 or "editor.fontLigatures": true).
Prefer literal operators everywhere? Install Sawala Mono NL, compiled with noLigation = true.