package shexp

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=d19e518ace68dc86bc18e9af6b2b2ee0c62ed3341a25cf10cf464f22cb4f8b5d

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.