package hardcaml_waveterm

  1. Overview
  2. Docs
A terminal based digital waveform viewer for Hardcaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a6780e4310f46cd71ff8a3cdf12bb51afdf0eaea5e84645a148a4ecd0f02920b

doc/src/hardcaml_waveterm.kernel/port.ml.html

Source file port.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
open Base

module Type = struct
  type t =
    | Input
    | Output
    | Internal
  [@@deriving compare, sexp_of]
end

type t =
  { type_ : Type.t
  ; port_name : Port_name.t
  ; width : int
  }
[@@deriving compare, sexp_of]

let equal a b = Int.equal (compare a b) 0
OCaml

Innovation. Community. Security.