package coin

  1. Overview
  2. Docs
Mapper of KOI8-{U,R} to Unicode

Install

dune-project
 Dependency

Authors

Maintainers

Sources

coin-0.1.5.tbz
sha256=cf65b343bcd41666494d4ab28131e0bae77af8d01ca77e96b9b1db20b5c647d8
sha512=ee34fe0881a752094f864b7cb70040e9676ddd05094099c38dcf02363eea9c9596c5a9b1635cd1f5436b9af9199e3f46676d2c7e2c87a06595ceaec63de646fb

doc/coin/Coin/String/index.html

Module Coin.StringSource

Sourcetype 'a folder = 'a -> int -> [ `Malformed of string | `Uchar of Uchar.t ] -> 'a

The type for character folder. The integer is the index in the string where the `Uchar or `Malformed starts.

Sourceval fold : encoding -> ?off:int -> ?len:int -> 'a folder -> 'a -> string -> 'a

fold e ?off ?len f a s is f ( ... (f (f a pos u0) j1 u1) ... ) ... ) jn un where ui, ji are characters and their start position in the e encoded substring s starting at pos and len long. The default value for pos is 0 and len is String.length s - pos.