JuliaMath / JuliaMath/IntervalSets.jl

nomenclature constancy

Open
#14 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
109
Forks
29
PR merge metrics
No merged PRs in 30d

Description

David Sanders and I have given some attention to interval field naming in an attempt to find a seat of general agreement. Taking the best of both your contribution (parameterizing AbstractInterval) and our easy-peasy field naming, for directed intervals with two bounds (possibly equal), we have:

abstract type AbstractInterval{T} end

struct ConcreteInterval{T} <: AbstractInterval{T}
lo::T
hi::T

# inner constructor, if any
end

If you are amenable to the field name change, @dpsanders may be moved to parameterized abstraction. Each would be another step toward first-class intervals that just work and will do so intra-packagly.

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.