fslaborg / fslaborg/FSharp.Stats

[Feature Request] Unify `Support` syntax for all Distributions

Open
#222 4 comments 1 reaction 0 assignees View on GitHub
refactor
Dominant language
F#
Stars
227
Forks
58
Avg merge
55m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
The syntax for the `static member Support ...` functions are written in a different syntax.

Bernoulli has a list, whereas hypergeometric returns a tuple.

https://github.com/fslaborg/FSharp.Stats/blob/262f1acf2cbeeaf008c272774d008d6d462f1022/src/FSharp.Stats/Distributions/Discrete.fs#L55-L57

https://github.com/fslaborg/FSharp.Stats/blob/262f1acf2cbeeaf008c272774d008d6d462f1022/src/FSharp.Stats/Distributions/Discrete.fs#L228-L230

**Describe the solution you'd like**
Maybe use this issue to discuss not only unifying the syntax, but reworking it to be more intuitive and usable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.