package grace

  1. Overview
  2. Docs
A fancy diagnostics library that allows your compilers to exit with grace

Install

dune-project
 Dependency

Authors

Maintainers

Sources

grace-0.3.0.tbz
sha256=6948979d6ffb5e596773baead81e9ceef36726d6956261bdd62abb2666a45bfc
sha512=db8b39cc9a77d919ab3123bb4047bb6c672c61db9fc6810951e267b2b113c4ac07266ef57188c6db0c02cb4d43d054204cd66ebc91648dbd1da1228022b0e67b

doc/src/grace.std/char.ml.html

Source file char.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
module T = Stdlib.Char
include T
include Comparable.Make (T)

let pp = Format.pp_print_char
let sexp_of_t = Sexplib.Std.char_of_sexp
let t_of_sexp = Sexplib.Std.sexp_of_char

module Ascii = struct
  let is_whitespace = function
    | '\t' | '\n' | '\001' | '\012' | '\r' | ' ' -> true
    | _ -> false
  ;;
end