| Anonymous | Login | Signup for a new account | 2013-05-24 10:08 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004489 | OCaml | OCaml general | public | 2008-01-23 19:12 | 2008-02-19 15:17 | ||||||
| Reporter | Christophe | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.10.0 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0004489: Additional feature for module set | ||||||||||
| Description | I upload a module Myset that contains the Set module plus additional VERY useful functions : val max_elt_lt : elt -> t -> elt return the largest element lower than the first arg val min_elt_gt : elt -> t -> elt return the smallest element greater thant the first arg The next two function are very useful when the order is only a preorder (when different elements x y are equals using Ord.compare) : val get_eq : elt -> t -> elt return the element equals to the first arg if any (or raise Not_found) val split_elt : elt -> t -> t * elt option * t same as split but it returns the element equals to the first arg (if any) PLEASE, add it to the Set module into the next release :) Christophe | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2008-01-23 19:12 | Christophe | New Issue | |
| 2008-01-23 19:12 | Christophe | File Added: myset.tbz2 | |
| 2008-02-19 15:17 | doligez | Relationship added | related to 0000340 |
| 2008-02-19 15:17 | doligez | Status | new => acknowledged |
| Copyright © 2000 - 2011 MantisBT Group |