package jingoo

  1. Overview
  2. Docs
val spf : ('a, unit, string) Stdlib.format -> 'a
val ($) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
module UTF8 : sig ... end
val strlen : string -> int
val strcmp : Stdlib.String.t -> Stdlib.String.t -> int
val substring : int -> int -> string -> string

application friendly substring

val escape_html : string -> string

escape_html str replaces '&', '"', '\'', '<' and '>' with their corresponding character entities (using entity number)

val chomp : string -> string
val take : ?pad:'a -> int -> 'a list -> 'a list
val after : int -> 'a list -> 'a list
val get_parser_error : exn -> Stdlib.Lexing.lexbuf -> string
val read_file_as_string : string -> string
val get_file_path : ?template_dirs:string list -> string -> string
module Maybe : sig ... end
val array_find : ('a -> bool) -> 'a array -> 'a
OCaml

Innovation. Community. Security.