package camomile

  1. Overview
  2. Docs
A Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

camomile-rel-1.0.0.tbz
sha256=718f8d0222d49cf2633462231f10e08c2f09aa824f1d11ac707cdc689a378ef0
md5=ade54c020169c5c7c5563751cd79f510

doc/camomile.library/CamomileLibrary/ULine/module-type-Type/index.html

Module type ULine.Type

type text
class input_line : UChar.t OOChannel.obj_input_channel -> text CamomileLibrary__.OOChannel.obj_input_channel

new input_line input_obj creates the new input channel object OOChannel.obj_input_channel which reads Unicode characters from input_obj and output lines. All of CR, LF, CRLF, NEL, LS, PS, as well as FF (formfeed) are recognised as a line separator.

class output_line : ?sp:separator -> UChar.t OOChannel.obj_output_channel -> text CamomileLibrary__.OOChannel.obj_output_channel

new output_line ~sp output_obj create the new output channel object OOChannel.obj_output_channel which output each line to output_obj using sp as a line separator. If sp is omitted, linefeed (LF) is used.

OCaml

Innovation. Community. Security.