tonsky / tonsky/FiraCode

Binomial operators for R

Open
#39 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

suggestion
Dominant language
Clojure
Stars
82k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

R has a number of binomial operators with the pattern %X% that might be good candidates for ligatures.

%>%, pipe operator, passes result to next function
%in%, matching logical operator, e.g., x %in% table means "does x exist in table?"
x %% y, modulus
x %/% y, integer division
x %*% y, matrix multiplication
x %o% y, outer product
x %x% y, kronecker product

Not sure the best visual approach for these. Probably best that the % symbols remain present in some form, but are visually less emphasized than the center characters.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the operators listed in the issue and the project's existing ligature designs; no source file or test is named. Determine a consistent visual treatment that preserves the percent symbols and covers the requested R operators. Done means the approach is implemented and visually verified against the listed examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.