package rescriptdep

All checked builds pass
  1. Overview
  2. Docs
A dependency analyzer for ReScript modules

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rescriptdep-0.3.0.tar.gz
md5=0dc249fc6c124f6adfd3834571ea24a3
sha512=44894ed1848eb19317303f72213d732d1bc93b2f5e0710a5d20ac49bbf634a1ed830c10019b5f087b3e00bd103ec7e910226465b34e1c94824d831c68f4c5c9e

doc/src/rescriptdep.vendor/misc.ml.html

Source file misc.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(**************************************************************************)
(*                                                                        *)
(*                                 OCaml                                  *)
(*                                                                        *)
(*             Xavier Leroy, projet Cristal, INRIA Rocquencourt           *)
(*                                                                        *)
(*   Copyright 1996 Institut National de Recherche en Informatique et     *)
(*     en Automatique.                                                    *)
(*                                                                        *)
(*   All rights reserved.  This file is distributed under the terms of    *)
(*   the GNU Lesser General Public License version 2.1, with the          *)
(*   special exception on linking described in the file LICENSE.          *)
(*                                                                        *)
(**************************************************************************)

(* Errors *)

exception Fatal_error

let fatal_error msg =
  prerr_string ">> Fatal error: ";
  prerr_endline msg;
  raise Fatal_error

let fatal_errorf fmt = Format.kasprintf fatal_error fmt