unisonweb/unison

wrong type provenance annotation

Open

#1,297 opened on Mar 2, 2020

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Haskell (304 forks)batch import
bugerror-messagehelp wanted

Repository metrics

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

Description

image

It should be highlighting (f b), not all that junk in the middle.

use .base.Either Left Right
(Either.>>=) : Either a b -> (b -> Either a c) -> Either a c
(Either.>>=) e f = match e with
  Left a -> Left a
  Right b -> Right (f b)

Contributor guide