| Anonymous | Login | Signup for a new account | 2013-06-19 18:11 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 | ||||||
| 0003544 | OCaml | OCaml general | public | 2005-03-17 03:15 | 2005-04-11 19:00 | ||||||
| Reporter | administrator | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0003544: immutable strings | ||||||||||
| Description | Full_Name: Oliver Bandel Version: 3.08.0 OS: Mac OS-X Submission from: dialin-145-254-064-192.arcor-ip.net (145.254.64.192) Feature Wish: keyword "immutable" for saying OCaml that a string is an immutable string, so changing it will be disallowed. As in a record it is possible to say that a value is "mutable" (instead of immutable), so for strings (but hopefully not only in records) it would be nice to say "immutable" to get an immutable string. (but if only possible (or consistent) to have such an additional keyword in records (like "mutable" is there possible) than having this possibility only inside of records ie better than do not have that possibility at all. but if one could say let immutable x = "Hello World!" and a x.[0] <- 'x' would result in an error message ("x is immutable") than this would be very nice. :) Best Regards to the OCamnl Team, Oliver Bandel | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-11-18 10:13 | administrator | New Issue | |
| Copyright © 2000 - 2011 MantisBT Group |