haskell / haskell/fgl

Documentation updates for predicate functions that rely on match

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
200
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Functions that rely on `match` and also take a function involving `Context` show expected, but poorly documented behavior.

The issue comes up when user functions that are supposed to operate on `Context`s receive them as part of a recursive graph decomposition. As such, the graph that the contexts belong to gets smaller and smaller. User expectations are usually that if the starting graph has a particular context, that is the one that their function receives, as opposed to a context from a subsequent decomposition. This has come up before in #55 and #89.

I think this is at least a documentation fix, but it would also be useful to add some functions for mapping and folding over "full" contexts.

Would the maintainers be interested in pull requests for either?

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.