Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006407OCamlOCaml standard librarypublic2014-05-08 23:492014-05-16 17:20
Reporterwhitequark 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version4.02.0+dev 
Summary0006407: No equivalent to Pervasives.(^) for Bytes
DescriptionAs far as I can tell, there is no way to concatenate two Bytes.t without using an intermediate list.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0011412)
whitequark (developer)
2014-05-08 23:56

As a result, this fragment I had:

  s^"\x00"

exploded into this:

  Bytes.concat (Bytes.of_string "") [s; Bytes.of_string "\x00")
(0011493)
doligez (administrator)
2014-05-16 17:20

fixed in branch 4.02 (commit 14880)

Also added Bytes.extend, which may be what you need instead.

- Issue History
Date Modified Username Field Change
2014-05-08 23:49 whitequark New Issue
2014-05-08 23:56 whitequark Note Added: 0011412
2014-05-16 17:20 doligez Note Added: 0011493
2014-05-16 17:20 doligez Status new => closed
2014-05-16 17:20 doligez Resolution open => fixed
2014-05-16 17:20 doligez Fixed in Version => 4.02.0+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker