package shexp

  1. Overview
  2. Docs
Process library and s-expression based shell

Install

Dune Dependency

Authors

Maintainers

Sources

shexp-v0.16.0.tar.gz
sha256=fae7de344e97b6e75e63ee7b8058a29afd358235f50727a02d3f9445675afed0

doc/src/shexp.process/std_io.ml.html

Source file std_io.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.