package qinap

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Qinap.Ext_stringSource

Module containing functions for working with strings.

Sourceval hd : string -> char option

hd s returns the first character of the string s. Wraps its result in an option type, to avoid raising exceptions.

Sourceval tl : string -> string

tl s returns s with its first character removed. If applied to the empty string, tl result the empty string.

OCaml

Innovation. Community. Security.