agrafix / agrafix/superrecord

mapping over a field, changing its type?

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
83
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Is there a specific implementation reason why this function is not possible:

```
modify :: forall l v v2 lts rts. (Has lts l v, ???) => FldProxy l -> (v -> v2) -> Rec lts -> Rec rts
```

Is it impossible to have a constraint that relates `lts` to `rts`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.