unisonweb/unison

surprising name selection when working with numbered args

Open

#1,193 opened on Feb 4, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Haskell (304 forks)batch import
dxhelp wantedpapercut

Repository metrics

Stars
 (6,624 stars)
PR merge metrics
 (Avg merge 12d 19h) (6 merged PRs in 30d)

Description

In this screenshot, I diff two namespaces, base and merged. The result is that merged has four new definitions, relative to base. When I view one of them, I'm shown a name out of head, which wasn't on my radar (because we choose aliases somewhat arbitrarily).

image

It would be nice if it used the name corresponding to the number 1 I specified, namely merged.Either.swap.

image

Contributor guide