Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004665OCamlOCaml standard librarypublic2008-12-06 12:282015-12-16 19:16
ReporterChristophe Troestler 
Assigned Toweis 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004665: Format: printf syntax for tab boxes
DescriptionIn order to be homogeneous (and to write shorter code), it will be nice for tabulation boxes to have a printf syntax -- something like

  @[<t>

for opening the box (and the usual @] for closing it -- if at all possible given it is a separate function for tab boxes) and, say,

  @| @\t

for resp. setting and printing tabs.

This is really minor but I thought I'd let you know anyway.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0015164)
weis (developer)
2015-12-16 19:16

The proposed printf-like syntax is fine, but tabulation boxes are now deprecated.

Indeed, tabulation boxes interaction with other pretty-printing boxes have never been sorted out and tabulation boxes usage is orthogonal to the rest of the Format module.

If considered useful, tabulation boxes could be implemented out of the Format module.

- Issue History
Date Modified Username Field Change
2008-12-06 12:28 Christophe Troestler New Issue
2008-12-23 13:56 doligez Status new => assigned
2008-12-23 13:56 doligez Assigned To => weis
2012-06-21 20:12 frisch Category OCaml general => OCaml standard library
2015-12-16 19:16 weis Note Added: 0015164


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker