coconut icon indicating copy to clipboard operation
coconut copied to clipboard

`fmap` over a `dict` should `map` over the items, not `starmap`

Open evhub opened this issue 3 years ago • 0 comments

Instead of

some_dict |> fmap$((k, v) -> (k, v + 1))

this change would require

some_dict |> fmap$(def ((k, v)) -> (k, v + 1))

which would keep the type signature of fmap more consistent.

Note that this would be a breaking change.

evhub avatar Nov 19 '21 04:11 evhub