package shexp

  1. Overview
  2. Docs

Source file std_io.ml

1
2
3
4
5
6
7
8
9
10
11
12
open Import

type t =
  | Stdin
  | Stdout
  | Stderr

let sexp_of_t t =
  Sexp.Atom (match t with
    | Stdin  -> "stdin"
    | Stdout -> "stdout"
    | Stderr -> "stderr")
OCaml

Innovation. Community. Security.