nfdi4plants / arc-validate

Home of all the tools and libraries to create and run validation of ARCs
https://nfdi4plants.github.io/arc-validate/
MIT License
3 stars 2 forks source link

Add `ARCExpect.forall` #72

Closed kMutagene closed 2 months ago

kMutagene commented 6 months ago

signature:

// performs action (e.g. ARCExpect.isValid) for each CvParam with the given term
// on class ByTerm:
static member forall (
    term: CvTerm,
    action: CvParam -> unit,
    cvp: seq<CvParam>) = ...

reminder @omaus

omaus commented 6 months ago

Just a small addition: It would be nice to also have an IParam overload. 😅

kMutagene commented 2 months ago

Not really relevant anymore, API design has chganged drastically.