| Anonymous | Login | Signup for a new account | 2013-05-20 18:47 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 | ||||||
| 0004384 | OCaml | OCaml general | public | 2007-09-10 19:05 | 2007-11-10 14:04 | ||||||
| Reporter | nogin | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.10+dev | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0004384: RFE: nested labels syntax for { ... with ... } | ||||||||||
| Description | In I have a nested record type and want to override a field in an interior record, I have to write something like: { r with field = { r.field with nested_field = expr }} It would have been nice if a syntactic shortcut { r with field.nested_field = expr } was available. I could of course always use camlp4, but it was nice if this was a part of the "official" syntax. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0004264) xleroy (administrator) 2007-11-10 14:04 |
This feature could be nice indeed but seems non-trivial to implement. I'll leave it as a feature wish. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2007-09-10 19:05 | nogin | New Issue | |
| 2007-11-06 15:17 | doligez | Category | Caml-light => OCaml general |
| 2007-11-10 14:04 | xleroy | Note Added: 0004264 | |
| 2007-11-10 14:04 | xleroy | Status | new => acknowledged |
| Copyright © 2000 - 2011 MantisBT Group |