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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* Signature for module names. Such names are assumed to be "resolved", and have
global scope in the sense that they may be used to identify modules uniquely
in a code base. In contrast, module references (strings that are used to
refer to modules in require/import statements) have local scope in the sense
that their meaning is relative to the files they appear in.
There are two ways to construct a module name:
* A module name may be a String that is declared in a file: e.g., in the
Haste module system such module names are declared via @providesModule.
* A module name may be a Filename: e.g., in the Node module system a module
is simply known by its path in the file system.
*)
m
to_string f
=
= Make
= Make