#require "bigstring";; #install_printer Bigstring.print;; module B = Bigstring;; # let s1 = B.of_string " abcd ";; val s1 : B.t = " abcd " # let s2 = B.trim s1;; val s2 : B.t = "abcd" # B.index ~c:'b' s2 ;; - : int = 1 # let str = "__";; val str : string = "__" # B.blit_of_string str 0 s2 1 2;; - : unit = () # s2;; - : B.t = "a__d" This repository was archived by the owner on Oct 24, 2020. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 4
Overlay over bigarrays of chars
License
c-cube/ocaml-bigstring
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Overlay over bigarrays of chars
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published