-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlibinfo.m
130 lines (125 loc) · 2.58 KB
/
libinfo.m
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
:- module libinfo.
:- interface.
% stdlib(S)
% Succeeds if S is the name of a stdlib module
%
:- pred stdlib(string).
:- mode stdlib(in) is semidet.
:- mode stdlib(out) is multi.
% anchor(S0) = S
% replace . and _ chars in stdlib module names to match
% the generated HTML anchors
%
:- func anchor(string) = string.
:- implementation.
:- import_module string.
anchor(S0) = S :-
string.replace_all(S0, "_", "_005f", S1),
string.replace_all(S1, ".", "_002e", S).
stdlib("array").
stdlib("array2d").
stdlib("assoc_list").
stdlib("bag").
stdlib("benchmarking").
stdlib("bimap").
stdlib("bit_buffer").
stdlib("bit_buffer.read").
stdlib("bit_buffer.write").
stdlib("bitmap").
stdlib("bool").
stdlib("bt_array").
stdlib("builtin").
stdlib("calendar").
stdlib("char").
stdlib("construct").
stdlib("cord").
stdlib("counter").
stdlib("deconstruct").
stdlib("diet").
stdlib("digraph").
stdlib("dir").
stdlib("edit_seq").
stdlib("enum").
stdlib("eqvclass").
stdlib("exception").
stdlib("fat_sparse_bitset").
stdlib("float").
stdlib("gc").
stdlib("getopt").
stdlib("getopt_io").
stdlib("hash_table").
stdlib("injection").
stdlib("int").
stdlib("int8").
stdlib("int16").
stdlib("int32").
stdlib("int64").
stdlib("integer").
stdlib("io").
stdlib("lazy").
stdlib("lexer").
stdlib("library").
stdlib("list").
stdlib("map").
stdlib("math").
stdlib("maybe").
stdlib("multi_map").
stdlib("ops").
stdlib("pair").
stdlib("parser").
stdlib("parsing_utils").
stdlib("pprint").
stdlib("pqueue").
stdlib("pretty_printer").
stdlib("prolog").
stdlib("psqueue").
stdlib("queue").
stdlib("random").
stdlib("ranges").
stdlib("rational").
stdlib("rbtree").
stdlib("require").
stdlib("rtree").
stdlib("set").
stdlib("set_bbbtree").
stdlib("set_ctree234").
stdlib("set_ordlist").
stdlib("set_tree234").
stdlib("set_unordlist").
stdlib("solutions").
stdlib("sparse_bitset").
stdlib("stack").
stdlib("std_util").
stdlib("store").
stdlib("stream").
stdlib("stream.string_writer").
stdlib("string.builder").
stdlib("string").
stdlib("table_statistics").
stdlib("term").
stdlib("term_conversion").
stdlib("term_io").
stdlib("term_to_xml").
stdlib("thread.barrier").
stdlib("thread.channel").
stdlib("thread.future").
stdlib("thread").
stdlib("thread.mvar").
stdlib("thread.semaphore").
stdlib("time").
stdlib("tree234").
stdlib("tree_bitset").
stdlib("type_desc").
stdlib("uint").
stdlib("uint8").
stdlib("uint16").
stdlib("uint32").
stdlib("uint64").
stdlib("unit").
stdlib("univ").
stdlib("varset").
stdlib("version_array").
stdlib("version_array2d").
stdlib("version_bitmap").
stdlib("version_hash_table").
stdlib("version_store").