-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathCompletion.res.txt
More file actions
2202 lines (2114 loc) · 80.4 KB
/
Completion.res.txt
File metadata and controls
2202 lines (2114 loc) · 80.4 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Complete src/Completion.res 1:11
posCursor:[1:11] posNoWhite:[1:10] Found expr:[1:3->1:11]
Pexp_ident MyList.m:[1:3->1:11]
Completable: Cpath Value[MyList, m]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[MyList, m]
Path MyList.m
[{
"label": "mapReverse",
"kind": 12,
"tags": [],
"detail": "(t<'a>, 'a => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": "\n Equivalent to:\n\n ```res\n map(someList, f)->reverse\n ```\n\n ```res example\n list{3, 4, 5}->Belt.List.mapReverse(x => x * x) /* list{25, 16, 9} */\n ```\n"}
}, {
"label": "makeBy",
"kind": 12,
"tags": [],
"detail": "(int, int => 'a) => t<'a>",
"documentation": {"kind": "markdown", "value": "\nReturn a list of length `numItems` with element `i` initialized with `f(i)`.\nReturns an empty list if `numItems` is negative.\n\n```res example\nBelt.List.makeBy(5, i => i) // list{0, 1, 2, 3, 4}\n\nBelt.List.makeBy(5, i => i * i) // list{0, 1, 4, 9, 16}\n```\n"}
}, {
"label": "make",
"kind": 12,
"tags": [],
"detail": "(int, 'a) => t<'a>",
"documentation": {"kind": "markdown", "value": "\n Returns a list of length `numItems` with each element filled with value `v`. Returns an empty list if `numItems` is negative.\n\n ```res example\n Belt.List.make(3, 1) // list{1, 1, 1}\n ```\n"}
}, {
"label": "mapReverse2U",
"kind": 12,
"tags": [],
"detail": "(t<'a>, t<'b>, (. 'a, 'b) => 'c) => t<'c>",
"documentation": {"kind": "markdown", "value": " Uncurried version of [mapReverse2](#mapReverse2). "}
}, {
"label": "map",
"kind": 12,
"tags": [],
"detail": "(t<'a>, 'a => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": "\n Returns a new list with `f` applied to each element of `someList`.\n\n ```res example\n list{1, 2}->Belt.List.map(x => x + 1) // list{3, 4}\n ```\n"}
}, {
"label": "mapWithIndexU",
"kind": 12,
"tags": [],
"detail": "(t<'a>, (. int, 'a) => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": " Uncurried version of [mapWithIndex](#mapWithIndex). "}
}, {
"label": "mapU",
"kind": 12,
"tags": [],
"detail": "(t<'a>, (. 'a) => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": " Uncurried version of [map](#map). "}
}, {
"label": "makeByU",
"kind": 12,
"tags": [],
"detail": "(int, (. int) => 'a) => t<'a>",
"documentation": {"kind": "markdown", "value": " Uncurried version of [makeBy](#makeBy) "}
}, {
"label": "mapReverse2",
"kind": 12,
"tags": [],
"detail": "(t<'a>, t<'b>, ('a, 'b) => 'c) => t<'c>",
"documentation": {"kind": "markdown", "value": "\n Equivalent to: `zipBy(xs, ys, f)->reverse`\n\n ```res example\n\n Belt.List.mapReverse2(list{1, 2, 3}, list{1, 2}, (a, b) => a + b) // list{4, 2}\n ```\n"}
}, {
"label": "mapWithIndex",
"kind": 12,
"tags": [],
"detail": "(t<'a>, (int, 'a) => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": "\n Applies `f` to each element of `someList`.\n Function `f` takes two arguments: the index starting from 0 and the element from `someList`, in that order.\n\n ```res example\n list{1, 2, 3}->Belt.List.mapWithIndex((index, x) => index + x) // list{1, 3, 5}\n ```\n"}
}, {
"label": "mapReverseU",
"kind": 12,
"tags": [],
"detail": "(t<'a>, (. 'a) => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": " Uncurried version of [mapReverse](#mapReverse). "}
}]
Complete src/Completion.res 3:9
posCursor:[3:9] posNoWhite:[3:8] Found expr:[3:3->3:9]
Pexp_ident Array.:[3:3->3:9]
Completable: Cpath Value[Array, ""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Array, ""]
Path Array.
[{
"label": "fold_left",
"kind": 12,
"tags": [],
"detail": "(('a, 'b) => 'a, 'a, array<'b>) => 'a",
"documentation": {"kind": "markdown", "value": " [Array.fold_left f x a] computes\n [f (... (f (f x a.(0)) a.(1)) ...) a.(n-1)],\n where [n] is the length of the array [a]. "}
}, {
"label": "concat",
"kind": 12,
"tags": [],
"detail": "list<array<'a>> => array<'a>",
"documentation": {"kind": "markdown", "value": " Same as {!Array.append}, but concatenates a list of arrays. "}
}, {
"label": "mapi",
"kind": 12,
"tags": [],
"detail": "((int, 'a) => 'b, array<'a>) => array<'b>",
"documentation": {"kind": "markdown", "value": " Same as {!Array.map}, but the\n function is applied to the index of the element as first argument,\n and the element itself as second argument. "}
}, {
"label": "exists",
"kind": 12,
"tags": [],
"detail": "('a => bool, array<'a>) => bool",
"documentation": {"kind": "markdown", "value": " [Array.exists p [|a1; ...; an|]] checks if at least one element of\n the array satisfies the predicate [p]. That is, it returns\n [(p a1) || (p a2) || ... || (p an)].\n @since 4.03.0 "}
}, {
"label": "for_all",
"kind": 12,
"tags": [],
"detail": "('a => bool, array<'a>) => bool",
"documentation": {"kind": "markdown", "value": " [Array.for_all p [|a1; ...; an|]] checks if all elements of the array\n satisfy the predicate [p]. That is, it returns\n [(p a1) && (p a2) && ... && (p an)].\n @since 4.03.0 "}
}, {
"label": "copy",
"kind": 12,
"tags": [],
"detail": "array<'a> => array<'a>",
"documentation": {"kind": "markdown", "value": " [Array.copy a] returns a copy of [a], that is, a fresh array\n containing the same elements as [a]. "}
}, {
"label": "iter2",
"kind": 12,
"tags": [],
"detail": "(('a, 'b) => unit, array<'a>, array<'b>) => unit",
"documentation": {"kind": "markdown", "value": " [Array.iter2 f a b] applies function [f] to all the elements of [a]\n and [b].\n Raise [Invalid_argument] if the arrays are not the same size.\n @since 4.03.0 "}
}, {
"label": "to_list",
"kind": 12,
"tags": [],
"detail": "array<'a> => list<'a>",
"documentation": {"kind": "markdown", "value": " [Array.to_list a] returns the list of all the elements of [a]. "}
}, {
"label": "stable_sort",
"kind": 12,
"tags": [],
"detail": "(('a, 'a) => int, array<'a>) => unit",
"documentation": {"kind": "markdown", "value": " Same as {!Array.sort}, but the sorting algorithm is stable (i.e.\n elements that compare equal are kept in their original order) and\n not guaranteed to run in constant heap space.\n\n The current implementation uses Merge Sort. It uses [n/2]\n words of heap space, where [n] is the length of the array.\n It is usually faster than the current implementation of {!Array.sort}.\n"}
}, {
"label": "iteri",
"kind": 12,
"tags": [],
"detail": "((int, 'a) => unit, array<'a>) => unit",
"documentation": {"kind": "markdown", "value": " Same as {!Array.iter}, but the\n function is applied with the index of the element as first argument,\n and the element itself as second argument. "}
}, {
"label": "memq",
"kind": 12,
"tags": [],
"detail": "('a, array<'a>) => bool",
"documentation": {"kind": "markdown", "value": " Same as {!Array.mem}, but uses physical equality instead of structural\n equality to compare array elements.\n @since 4.03.0 "}
}, {
"label": "map2",
"kind": 12,
"tags": [],
"detail": "(('a, 'b) => 'c, array<'a>, array<'b>) => array<'c>",
"documentation": {"kind": "markdown", "value": " [Array.map2 f a b] applies function [f] to all the elements of [a]\n and [b], and builds an array with the results returned by [f]:\n [[| f a.(0) b.(0); ...; f a.(Array.length a - 1) b.(Array.length b - 1)|]].\n Raise [Invalid_argument] if the arrays are not the same size.\n @since 4.03.0 "}
}, {
"label": "set",
"kind": 12,
"tags": [],
"detail": "(array<'a>, int, 'a) => unit",
"documentation": {"kind": "markdown", "value": " [Array.set a n x] modifies array [a] in place, replacing\n element number [n] with [x].\n You can also write [a.(n) <- x] instead of [Array.set a n x].\n\n Raise [Invalid_argument \"index out of bounds\"]\n if [n] is outside the range 0 to [Array.length a - 1]. "}
}, {
"label": "make",
"kind": 12,
"tags": [],
"detail": "(int, 'a) => array<'a>",
"documentation": {"kind": "markdown", "value": " [Array.make n x] returns a fresh array of length [n],\n initialized with [x].\n All the elements of this new array are initially\n physically equal to [x] (in the sense of the [==] predicate).\n Consequently, if [x] is mutable, it is shared among all elements\n of the array, and modifying [x] through one of the array entries\n will modify all other entries at the same time.\n\n Raise [Invalid_argument] if [n < 0] or [n > Sys.max_array_length].\n If the value of [x] is a floating-point number, then the maximum\n size is only [Sys.max_array_length / 2]."}
}, {
"label": "make_float",
"kind": 12,
"tags": [],
"detail": "int => array<float>",
"documentation": {"kind": "markdown", "value": " @deprecated [Array.make_float] is an alias for {!Array.create_float}. "}
}, {
"label": "fold_right",
"kind": 12,
"tags": [],
"detail": "(('b, 'a) => 'a, array<'b>, 'a) => 'a",
"documentation": {"kind": "markdown", "value": " [Array.fold_right f a x] computes\n [f a.(0) (f a.(1) ( ... (f a.(n-1) x) ...))],\n where [n] is the length of the array [a]. "}
}, {
"label": "sort",
"kind": 12,
"tags": [],
"detail": "(('a, 'a) => int, array<'a>) => unit",
"documentation": {"kind": "markdown", "value": " Sort an array in increasing order according to a comparison\n function. The comparison function must return 0 if its arguments\n compare as equal, a positive integer if the first is greater,\n and a negative integer if the first is smaller (see below for a\n complete specification). For example, {!Pervasives.compare} is\n a suitable comparison function, provided there are no floating-point\n NaN values in the data. After calling [Array.sort], the\n array is sorted in place in increasing order.\n [Array.sort] is guaranteed to run in constant heap space\n and (at most) logarithmic stack space.\n\n The current implementation uses Heap Sort. It runs in constant\n stack space.\n\n Specification of the comparison function:\n Let [a] be the array and [cmp] the comparison function. The following\n must be true for all x, y, z in a :\n- [cmp x y] > 0 if and only if [cmp y x] < 0\n- if [cmp x y] >= 0 and [cmp y z] >= 0 then [cmp x z] >= 0\n\n When [Array.sort] returns, [a] contains the same elements as before,\n reordered in such a way that for all i and j valid indices of [a] :\n- [cmp a.(i) a.(j)] >= 0 if and only if i >= j\n"}
}, {
"label": "length",
"kind": 12,
"tags": [],
"detail": "array<'a> => int",
"documentation": {"kind": "markdown", "value": " Return the length (number of elements) of the given array. "}
}, {
"label": "sub",
"kind": 12,
"tags": [],
"detail": "(array<'a>, int, int) => array<'a>",
"documentation": {"kind": "markdown", "value": " [Array.sub a start len] returns a fresh array of length [len],\n containing the elements number [start] to [start + len - 1]\n of array [a].\n\n Raise [Invalid_argument \"Array.sub\"] if [start] and [len] do not\n designate a valid subarray of [a]; that is, if\n [start < 0], or [len < 0], or [start + len > Array.length a]. "}
}, {
"label": "of_list",
"kind": 12,
"tags": [],
"detail": "list<'a> => array<'a>",
"documentation": {"kind": "markdown", "value": " [Array.of_list l] returns a fresh array containing the elements\n of [l]. "}
}, {
"label": "iter",
"kind": 12,
"tags": [],
"detail": "('a => unit, array<'a>) => unit",
"documentation": {"kind": "markdown", "value": " [Array.iter f a] applies function [f] in turn to all\n the elements of [a]. It is equivalent to\n [f a.(0); f a.(1); ...; f a.(Array.length a - 1); ()]. "}
}, {
"label": "map",
"kind": 12,
"tags": [],
"detail": "('a => 'b, array<'a>) => array<'b>",
"documentation": {"kind": "markdown", "value": " [Array.map f a] applies function [f] to all the elements of [a],\n and builds an array with the results returned by [f]:\n [[| f a.(0); f a.(1); ...; f a.(Array.length a - 1) |]]. "}
}, {
"label": "unsafe_get",
"kind": 12,
"tags": [],
"detail": "(array<'a>, int) => 'a",
"documentation": null
}, {
"label": "make_matrix",
"kind": 12,
"tags": [],
"detail": "(int, int, 'a) => array<array<'a>>",
"documentation": {"kind": "markdown", "value": " [Array.make_matrix dimx dimy e] returns a two-dimensional array\n (an array of arrays) with first dimension [dimx] and\n second dimension [dimy]. All the elements of this new matrix\n are initially physically equal to [e].\n The element ([x,y]) of a matrix [m] is accessed\n with the notation [m.(x).(y)].\n\n Raise [Invalid_argument] if [dimx] or [dimy] is negative or\n greater than {!Sys.max_array_length}.\n If the value of [e] is a floating-point number, then the maximum\n size is only [Sys.max_array_length / 2]. "}
}, {
"label": "mem",
"kind": 12,
"tags": [],
"detail": "('a, array<'a>) => bool",
"documentation": {"kind": "markdown", "value": " [mem a l] is true if and only if [a] is equal\n to an element of [l].\n @since 4.03.0 "}
}, {
"label": "get",
"kind": 12,
"tags": [],
"detail": "(array<'a>, int) => 'a",
"documentation": {"kind": "markdown", "value": " [Array.get a n] returns the element number [n] of array [a].\n The first element has number 0.\n The last element has number [Array.length a - 1].\n You can also write [a.(n)] instead of [Array.get a n].\n\n Raise [Invalid_argument \"index out of bounds\"]\n if [n] is outside the range 0 to [(Array.length a - 1)]. "}
}, {
"label": "append",
"kind": 12,
"tags": [],
"detail": "(array<'a>, array<'a>) => array<'a>",
"documentation": {"kind": "markdown", "value": " [Array.append v1 v2] returns a fresh array containing the\n concatenation of the arrays [v1] and [v2]. "}
}, {
"label": "unsafe_set",
"kind": 12,
"tags": [],
"detail": "(array<'a>, int, 'a) => unit",
"documentation": null
}, {
"label": "create_matrix",
"kind": 12,
"tags": [],
"detail": "(int, int, 'a) => array<array<'a>>",
"documentation": {"kind": "markdown", "value": " @deprecated [Array.create_matrix] is an alias for {!Array.make_matrix}. "}
}, {
"label": "create_float",
"kind": 12,
"tags": [],
"detail": "int => array<float>",
"documentation": {"kind": "markdown", "value": " [Array.create_float n] returns a fresh float array of length [n],\n with uninitialized data.\n @since 4.03 "}
}, {
"label": "create",
"kind": 12,
"tags": [],
"detail": "(int, 'a) => array<'a>",
"documentation": {"kind": "markdown", "value": " @deprecated [Array.create] is an alias for {!Array.make}. "}
}, {
"label": "init",
"kind": 12,
"tags": [],
"detail": "(int, int => 'a) => array<'a>",
"documentation": {"kind": "markdown", "value": " [Array.init n f] returns a fresh array of length [n],\n with element number [i] initialized to the result of [f i].\n In other terms, [Array.init n f] tabulates the results of [f]\n applied to the integers [0] to [n-1].\n\n Raise [Invalid_argument] if [n < 0] or [n > Sys.max_array_length].\n If the return type of [f] is [float], then the maximum\n size is only [Sys.max_array_length / 2]."}
}, {
"label": "fast_sort",
"kind": 12,
"tags": [],
"detail": "(('a, 'a) => int, array<'a>) => unit",
"documentation": {"kind": "markdown", "value": " Same as {!Array.sort} or {!Array.stable_sort}, whichever is faster\n on typical input.\n"}
}, {
"label": "fill",
"kind": 12,
"tags": [],
"detail": "(array<'a>, int, int, 'a) => unit",
"documentation": {"kind": "markdown", "value": " [Array.fill a ofs len x] modifies the array [a] in place,\n storing [x] in elements number [ofs] to [ofs + len - 1].\n\n Raise [Invalid_argument \"Array.fill\"] if [ofs] and [len] do not\n designate a valid subarray of [a]. "}
}, {
"label": "blit",
"kind": 12,
"tags": [],
"detail": "(array<'a>, int, array<'a>, int, int) => unit",
"documentation": {"kind": "markdown", "value": " [Array.blit v1 o1 v2 o2 len] copies [len] elements\n from array [v1], starting at element number [o1], to array [v2],\n starting at element number [o2]. It works correctly even if\n [v1] and [v2] are the same array, and the source and\n destination chunks overlap.\n\n Raise [Invalid_argument \"Array.blit\"] if [o1] and [len] do not\n designate a valid subarray of [v1], or if [o2] and [len] do not\n designate a valid subarray of [v2]. "}
}, {
"label": "Floatarray",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}]
Complete src/Completion.res 5:10
posCursor:[5:10] posNoWhite:[5:9] Found expr:[5:3->5:10]
Pexp_ident Array.m:[5:3->5:10]
Completable: Cpath Value[Array, m]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Array, m]
Path Array.m
[{
"label": "mapi",
"kind": 12,
"tags": [],
"detail": "((int, 'a) => 'b, array<'a>) => array<'b>",
"documentation": {"kind": "markdown", "value": " Same as {!Array.map}, but the\n function is applied to the index of the element as first argument,\n and the element itself as second argument. "}
}, {
"label": "memq",
"kind": 12,
"tags": [],
"detail": "('a, array<'a>) => bool",
"documentation": {"kind": "markdown", "value": " Same as {!Array.mem}, but uses physical equality instead of structural\n equality to compare array elements.\n @since 4.03.0 "}
}, {
"label": "map2",
"kind": 12,
"tags": [],
"detail": "(('a, 'b) => 'c, array<'a>, array<'b>) => array<'c>",
"documentation": {"kind": "markdown", "value": " [Array.map2 f a b] applies function [f] to all the elements of [a]\n and [b], and builds an array with the results returned by [f]:\n [[| f a.(0) b.(0); ...; f a.(Array.length a - 1) b.(Array.length b - 1)|]].\n Raise [Invalid_argument] if the arrays are not the same size.\n @since 4.03.0 "}
}, {
"label": "make",
"kind": 12,
"tags": [],
"detail": "(int, 'a) => array<'a>",
"documentation": {"kind": "markdown", "value": " [Array.make n x] returns a fresh array of length [n],\n initialized with [x].\n All the elements of this new array are initially\n physically equal to [x] (in the sense of the [==] predicate).\n Consequently, if [x] is mutable, it is shared among all elements\n of the array, and modifying [x] through one of the array entries\n will modify all other entries at the same time.\n\n Raise [Invalid_argument] if [n < 0] or [n > Sys.max_array_length].\n If the value of [x] is a floating-point number, then the maximum\n size is only [Sys.max_array_length / 2]."}
}, {
"label": "make_float",
"kind": 12,
"tags": [],
"detail": "int => array<float>",
"documentation": {"kind": "markdown", "value": " @deprecated [Array.make_float] is an alias for {!Array.create_float}. "}
}, {
"label": "map",
"kind": 12,
"tags": [],
"detail": "('a => 'b, array<'a>) => array<'b>",
"documentation": {"kind": "markdown", "value": " [Array.map f a] applies function [f] to all the elements of [a],\n and builds an array with the results returned by [f]:\n [[| f a.(0); f a.(1); ...; f a.(Array.length a - 1) |]]. "}
}, {
"label": "make_matrix",
"kind": 12,
"tags": [],
"detail": "(int, int, 'a) => array<array<'a>>",
"documentation": {"kind": "markdown", "value": " [Array.make_matrix dimx dimy e] returns a two-dimensional array\n (an array of arrays) with first dimension [dimx] and\n second dimension [dimy]. All the elements of this new matrix\n are initially physically equal to [e].\n The element ([x,y]) of a matrix [m] is accessed\n with the notation [m.(x).(y)].\n\n Raise [Invalid_argument] if [dimx] or [dimy] is negative or\n greater than {!Sys.max_array_length}.\n If the value of [e] is a floating-point number, then the maximum\n size is only [Sys.max_array_length / 2]. "}
}, {
"label": "mem",
"kind": 12,
"tags": [],
"detail": "('a, array<'a>) => bool",
"documentation": {"kind": "markdown", "value": " [mem a l] is true if and only if [a] is equal\n to an element of [l].\n @since 4.03.0 "}
}]
Complete src/Completion.res 15:17
posCursor:[15:17] posNoWhite:[15:16] Found expr:[15:12->15:17]
Pexp_ident Dep.c:[15:12->15:17]
Completable: Cpath Value[Dep, c]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Dep, c]
Path Dep.c
[{
"label": "customDouble",
"kind": 12,
"tags": [1],
"detail": "int => int",
"documentation": {"kind": "markdown", "value": "Deprecated: Use customDouble instead\n\nSome doc comment"}
}]
Complete src/Completion.res 23:20
posCursor:[23:20] posNoWhite:[23:19] Found expr:[23:11->23:20]
Pexp_apply ...[23:11->23:18] ()
Completable: CnamedArg(Value[Lib, foo], "", [])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Lib, foo]
Path Lib.foo
Found type for function (~age: int, ~name: string) => string
[{
"label": "age",
"kind": 4,
"tags": [],
"detail": "int",
"documentation": null
}, {
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Completion.res 26:13
posCursor:[26:13] posNoWhite:[26:12] Found expr:[26:3->26:13]
Completable: Cpath array<int>->m
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath array<int>->m
ContextPath array<int>
CPPipe env:Completion
Path Js.Array2.m
[{
"label": "Js.Array2.mapi",
"kind": 12,
"tags": [],
"detail": "(t<'a>, ('a, int) => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": "\nApplies the function (the second argument) to each item in the array, returning\na new array. The function acceps two arguments: an item from the array and its\nindex number. The result array does not have to have elements of the same type\nas the input array. See\n[`Array.map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\non MDN.\n\n```res example\n// multiply each item in array by its position\nlet product = (item, index) => item * index\nJs.Array2.mapi([10, 11, 12], product) == [0, 11, 24]\n```\n"}
}, {
"label": "Js.Array2.map",
"kind": 12,
"tags": [],
"detail": "(t<'a>, 'a => 'b) => t<'b>",
"documentation": {"kind": "markdown", "value": "\nApplies the function (the second argument) to each item in the array, returning\na new array. The result array does not have to have elements of the same type\nas the input array. See\n[`Array.map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\non MDN.\n\n```res example\nJs.Array2.map([12, 4, 8], x => x * x) == [144, 16, 64]\nJs.Array2.map([\"animal\", \"vegetable\", \"mineral\"], Js.String.length) == [6, 9, 7]\n```\n"}
}]
Complete src/Completion.res 29:13
posCursor:[29:13] posNoWhite:[29:12] Found expr:[29:3->29:13]
Completable: Cpath string->toU
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath string->toU
ContextPath string
CPPipe env:Completion
Path Js.String2.toU
[{
"label": "Js.String2.toUpperCase",
"kind": 12,
"tags": [],
"detail": "t => t",
"documentation": {"kind": "markdown", "value": "\n`toUpperCase(str)` converts `str` to upper case using the locale-insensitive\ncase mappings in the Unicode Character Database. Notice that the conversion can\nexpand the number of letters in the result; for example the German ß\ncapitalizes to two Ses in a row.\n\nSee [`String.toUpperCase`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase)\non MDN.\n\n```res example\nJs.String2.toUpperCase(\"abc\") == \"ABC\"\nJs.String2.toUpperCase(`Straße`) == `STRASSE`\nJs.String2.toUpperCase(`πς`) == `ΠΣ`\n```\n"}
}]
Complete src/Completion.res 34:8
posCursor:[34:8] posNoWhite:[34:7] Found expr:[34:3->34:8]
Completable: Cpath Value[op]->e
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[op]->e
ContextPath Value[op]
Path op
CPPipe env:Completion
Path Belt.Option.e
[{
"label": "Belt.Option.eqU",
"kind": 12,
"tags": [],
"detail": "(option<'a>, option<'b>, (. 'a, 'b) => bool) => bool",
"documentation": {"kind": "markdown", "value": "\n Uncurried version of `eq`\n"}
}, {
"label": "Belt.Option.eq",
"kind": 12,
"tags": [],
"detail": "(option<'a>, option<'b>, ('a, 'b) => bool) => bool",
"documentation": {"kind": "markdown", "value": "\n Evaluates two optional values for equality with respect to a predicate\n function. If both `optValue1` and `optValue2` are `None`, returns `true`.\n If one of the arguments is `Some(value)` and the other is `None`, returns\n `false`.\n\n If arguments are `Some(value1)` and `Some(value2)`, returns the result of\n `predicate(value1, value2)`; the predicate function must return a bool.\n\n ```res example\n let clockEqual = (a, b) => mod(a, 12) == mod(b, 12)\n\n open Belt.Option\n\n eq(Some(3), Some(15), clockEqual) /* true */\n\n eq(Some(3), None, clockEqual) /* false */\n\n eq(None, Some(3), clockEqual) /* false */\n\n eq(None, None, clockEqual) /* true */\n ```\n"}
}]
Complete src/Completion.res 44:7
posCursor:[44:7] posNoWhite:[44:6] Found expr:[44:3->54:3]
Pexp_apply ...[50:9->50:10] (...[44:3->50:8], ...[51:2->54:3])
posCursor:[44:7] posNoWhite:[44:6] Found expr:[44:3->50:8]
Completable: Cpath Value[fa]->
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[fa]->
ContextPath Value[fa]
Path fa
CPPipe env:Completion
CPPipe type path:ForAuto.t
CPPipe pathFromEnv:ForAuto found:true
Path ForAuto.
[{
"label": "ForAuto.abc",
"kind": 12,
"tags": [],
"detail": "(t, int) => t",
"documentation": null
}, {
"label": "ForAuto.abd",
"kind": 12,
"tags": [],
"detail": "(t, int) => t",
"documentation": null
}]
Complete src/Completion.res 47:21
posCursor:[47:21] posNoWhite:[47:20] Found expr:[47:3->47:21]
posCursor:[47:21] posNoWhite:[47:20] Found expr:[47:12->47:21]
Pexp_ident Js.Dict.u:[47:12->47:21]
Completable: Cpath Value[Js, Dict, u]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Js, Dict, u]
Path Js.Dict.u
[{
"label": "unsafeGet",
"kind": 12,
"tags": [],
"detail": "(t<'a>, key) => 'a",
"documentation": {"kind": "markdown", "value": "\n`Js.Dict.unsafeGet(key)` returns the value if the key exists, otherwise an `undefined` value is returned. Use this only when you are sure the key exists (i.e. when having used the `keys()` function to check that the key is valid).\n\n```res example\nJs.Dict.unsafeGet(ages, \"Fred\") == 49\nJs.Dict.unsafeGet(ages, \"Paul\") // returns undefined\n```\n"}
}, {
"label": "unsafeDeleteKey",
"kind": 12,
"tags": [],
"detail": "(. t<string>, string) => unit",
"documentation": {"kind": "markdown", "value": " Experimental internal function "}
}]
Complete src/Completion.res 59:30
posCursor:[59:30] posNoWhite:[59:29] Found expr:[59:15->59:30]
JSX <O.Comp:[59:15->59:21] second[59:22->59:28]=...[59:29->59:30]> _children:None
Completable: Cexpression CJsxPropValue [O, Comp] second=z
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [O, Comp] second
Path O.Comp.make
[{
"label": "zzz",
"kind": 12,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Completion.res 62:23
posCursor:[62:23] posNoWhite:[62:22] Found expr:[62:15->62:23]
JSX <O.Comp:[62:15->62:21] z[62:22->62:23]=...[62:22->62:23]> _children:None
Completable: Cjsx([O, Comp], z, [z])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path O.Comp.make
[{
"label": "zoo",
"kind": 4,
"tags": [],
"detail": "option<int>",
"documentation": null
}]
Complete src/Completion.res 65:8
Attribute id:reac:[65:3->65:8] label:reac
Completable: Cdecorator(reac)
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
[{
"label": "react.component",
"kind": 4,
"tags": [],
"detail": "",
"documentation": {"kind": "markdown", "value": "The `@react.component` decorator is used to annotate functions that are RescriptReact components.\n\nYou will need this decorator whenever you want to use a ReScript / React component in ReScript JSX expressions.\n\nNote: The `@react.component` decorator requires the react-jsx config to be set in your `bsconfig.json` to enable the required React transformations.\n\n[Read more and see examples in the documentation](https://rescript-lang.org/syntax-lookup#react-component-decorator)."}
}]
Complete src/Completion.res 68:10
posCursor:[68:10] posNoWhite:[68:9] Found expr:[0:-1->86:1]
Pexp_apply ...[80:6->80:7] (...[80:8->86:1])
Attribute id:react.let:[68:3->80:3] label:react.
Completable: Cdecorator(react.)
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
[{
"label": "component",
"kind": 4,
"tags": [],
"detail": "",
"documentation": {"kind": "markdown", "value": "The `@react.component` decorator is used to annotate functions that are RescriptReact components.\n\nYou will need this decorator whenever you want to use a ReScript / React component in ReScript JSX expressions.\n\nNote: The `@react.component` decorator requires the react-jsx config to be set in your `bsconfig.json` to enable the required React transformations.\n\n[Read more and see examples in the documentation](https://rescript-lang.org/syntax-lookup#react-component-decorator)."}
}]
Complete src/Completion.res 71:27
posCursor:[71:27] posNoWhite:[71:26] Found expr:[71:11->71:27]
Pexp_apply ...[71:11->71:18] (~name71:20->71:24=...[71:20->71:24])
Completable: CnamedArg(Value[Lib, foo], "", [name])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Lib, foo]
Path Lib.foo
Found type for function (~age: int, ~name: string) => string
[{
"label": "age",
"kind": 4,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Completion.res 74:26
posCursor:[74:26] posNoWhite:[74:25] Found expr:[74:11->74:26]
Pexp_apply ...[74:11->74:18] (~age74:20->74:23=...[74:20->74:23])
Completable: CnamedArg(Value[Lib, foo], "", [age])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Lib, foo]
Path Lib.foo
Found type for function (~age: int, ~name: string) => string
[{
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Completion.res 77:32
posCursor:[77:32] posNoWhite:[77:31] Found expr:[77:11->77:32]
Pexp_apply ...[77:11->77:18] (~age77:20->77:23=...[77:25->77:28])
Completable: CnamedArg(Value[Lib, foo], "", [age])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Lib, foo]
Path Lib.foo
Found type for function (~age: int, ~name: string) => string
[{
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Completion.res 82:5
posCursor:[82:5] posNoWhite:[82:4] Found expr:[80:8->86:1]
Pexp_apply ...[80:8->80:15] (~age84:3->84:6=...[84:7->84:8], ~name85:3->85:7=...[85:8->85:10])
Completable: CnamedArg(Value[Lib, foo], "", [age, name])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Lib, foo]
Path Lib.foo
Found type for function (~age: int, ~name: string) => string
[]
Complete src/Completion.res 90:13
posCursor:[90:13] posNoWhite:[90:12] Found expr:[90:3->93:18]
Pexp_send a[90:12->90:13] e:[90:3->90:10]
Completable: Cpath Value[someObj]["a"]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[someObj]["a"]
ContextPath Value[someObj]
Path someObj
[{
"label": "age",
"kind": 4,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Completion.res 95:24
posCursor:[95:24] posNoWhite:[95:23] Found expr:[95:3->99:6]
Pexp_send [95:24->95:24] e:[95:3->95:22]
Completable: Cpath Value[nestedObj]["x"]["y"][""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[nestedObj]["x"]["y"][""]
ContextPath Value[nestedObj]["x"]["y"]
ContextPath Value[nestedObj]["x"]
ContextPath Value[nestedObj]
Path nestedObj
[{
"label": "age",
"kind": 4,
"tags": [],
"detail": "int",
"documentation": null
}, {
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Completion.res 99:7
posCursor:[99:7] posNoWhite:[99:6] Found expr:[99:3->102:20]
Pexp_send a[99:6->99:7] e:[99:3->99:4]
Completable: Cpath Value[o]["a"]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[o]["a"]
ContextPath Value[o]
Path o
[{
"label": "age",
"kind": 4,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Completion.res 104:17
posCursor:[104:17] posNoWhite:[104:16] Found expr:[104:3->125:19]
Pexp_send [104:17->104:17] e:[104:3->104:15]
Completable: Cpath Value[no]["x"]["y"][""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[no]["x"]["y"][""]
ContextPath Value[no]["x"]["y"]
ContextPath Value[no]["x"]
ContextPath Value[no]
Path no
[{
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}, {
"label": "age",
"kind": 4,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Completion.res 110:5
posCursor:[110:5] posNoWhite:[110:4] Found expr:[110:3->110:5]
Pexp_field [110:3->110:4] _:[116:0->110:5]
Completable: Cpath Value[r].""
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[r].""
ContextPath Value[r]
Path r
[{
"label": "x",
"kind": 5,
"tags": [],
"detail": "x: int\n\ntype r = {x: int, y: string}",
"documentation": null
}, {
"label": "y",
"kind": 5,
"tags": [],
"detail": "y: string\n\ntype r = {x: int, y: string}",
"documentation": null
}]
Complete src/Completion.res 113:25
posCursor:[113:25] posNoWhite:[113:24] Found expr:[113:3->113:25]
Pexp_field [113:3->113:24] _:[116:0->113:25]
Completable: Cpath Value[Objects, Rec, recordVal].""
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Objects, Rec, recordVal].""
ContextPath Value[Objects, Rec, recordVal]
Path Objects.Rec.recordVal
[{
"label": "xx",
"kind": 5,
"tags": [],
"detail": "xx: int\n\ntype recordt = {xx: int, ss: string}",
"documentation": null
}, {
"label": "ss",
"kind": 5,
"tags": [],
"detail": "ss: string\n\ntype recordt = {xx: int, ss: string}",
"documentation": null
}]
Complete src/Completion.res 120:7
posCursor:[120:7] posNoWhite:[120:6] Found expr:[119:11->123:1]
posCursor:[120:7] posNoWhite:[120:6] Found expr:[120:5->122:5]
posCursor:[120:7] posNoWhite:[120:6] Found expr:[120:5->120:7]
Pexp_ident my:[120:5->120:7]
Completable: Cpath Value[my]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[my]
Path my
[{
"label": "myAmazingFunction",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": null
}]
Complete src/Completion.res 125:19
posCursor:[125:19] posNoWhite:[125:18] Found expr:[125:3->145:32]
Pexp_send [125:19->125:19] e:[125:3->125:17]
Completable: Cpath Value[Objects, object][""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Objects, object][""]
ContextPath Value[Objects, object]
Path Objects.object
[{
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}, {
"label": "age",
"kind": 4,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Completion.res 151:6
posCursor:[151:6] posNoWhite:[151:5] Found expr:[151:4->151:6]
JSX <O.:[151:4->151:6] > _children:None
Completable: Cpath Module[O, ""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[O, ""]
Path O.
[{
"label": "Comp",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}]
Complete src/Completion.res 157:8
posCursor:[157:8] posNoWhite:[157:7] Found expr:[157:3->157:8]
Pexp_field [157:3->157:7] _:[165:0->157:8]
Completable: Cpath Value[q].aa.""
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[q].aa.""
ContextPath Value[q].aa
ContextPath Value[q]
Path q
[{
"label": "x",
"kind": 5,
"tags": [],
"detail": "x: int\n\ntype aa = {x: int, name: string}",
"documentation": null
}, {
"label": "name",
"kind": 5,
"tags": [],
"detail": "name: string\n\ntype aa = {x: int, name: string}",
"documentation": null
}]
Complete src/Completion.res 159:9
posCursor:[159:9] posNoWhite:[159:8] Found expr:[159:3->159:9]
Pexp_field [159:3->159:7] n:[159:8->159:9]
Completable: Cpath Value[q].aa.n
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[q].aa.n
ContextPath Value[q].aa
ContextPath Value[q]
Path q
[{
"label": "name",
"kind": 5,
"tags": [],
"detail": "name: string\n\ntype aa = {x: int, name: string}",
"documentation": null
}]
Complete src/Completion.res 162:6
posCursor:[162:6] posNoWhite:[162:5] Found expr:[162:3->162:6]
Pexp_construct Lis:[162:3->162:6] None
Completable: Cpath Value[Lis]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Lis]
Path Lis
[{
"label": "List",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}, {
"label": "ListLabels",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}]
Complete src/Completion.res 169:16
posCursor:[169:16] posNoWhite:[169:15] Found expr:[169:4->169:16]
JSX <WithChildren:[169:4->169:16] > _children:None
Completable: Cpath Module[WithChildren]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[WithChildren]
Path WithChildren
[{
"label": "WithChildren",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}]
Complete src/Completion.res 172:16
posCursor:[172:16] posNoWhite:[172:15] Found type:[172:12->172:16]
Ptyp_constr Js.n:[172:12->172:16]
Completable: Cpath Type[Js, n]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Type[Js, n]
Path Js.n
[{
"label": "null_undefined",
"kind": 22,
"tags": [],
"detail": "type null_undefined<'a> = nullable<'a>",
"documentation": null
}, {
"label": "nullable",
"kind": 22,
"tags": [],
"detail": "type nullable<'a> = Value('a) | Null | Undefined",
"documentation": null
}, {
"label": "null",
"kind": 22,
"tags": [],
"detail": "type null<'a> = Value('a) | Null",
"documentation": {"kind": "markdown", "value": "\n Nullable value of this type can be either null or 'a. This type is equivalent to Js.Null.t.\n"}
}]
Complete src/Completion.res 174:20
posCursor:[174:20] posNoWhite:[174:19] Found type:[174:12->174:20]
Ptyp_constr ForAuto.:[174:12->174:20]
Completable: Cpath Type[ForAuto, ""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Type[ForAuto, ""]
Path ForAuto.
[{
"label": "t",
"kind": 22,
"tags": [],
"detail": "type t = int",
"documentation": null
}]
Complete src/Completion.res 179:13
posCursor:[179:13] posNoWhite:[179:12] Found expr:[179:11->179:13]
Pexp_construct As:[179:11->179:13] None
Completable: Cpath Value[As]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[As]
Path As
[{
"label": "Asterix",
"kind": 4,
"tags": [],
"detail": "Asterix\n\ntype z = Allo | Asterix | Baba",
"documentation": null
}]
Complete src/Completion.res 182:17
Pmod_ident For:[182:14->182:17]
Completable: Cpath Module[For]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[For]
Path For
[{
"label": "ForAuto",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}]
Complete src/Completion.res 190:11
posCursor:[190:11] posNoWhite:[190:10] Found expr:[190:3->190:11]
Pexp_ident Private.:[190:3->190:11]
Completable: Cpath Value[Private, ""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Private, ""]
Path Private.
[{
"label": "b",
"kind": 12,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Completion.res 202:6
posCursor:[202:6] posNoWhite:[202:5] Found expr:[202:3->202:6]
Pexp_ident sha:[202:3->202:6]
Completable: Cpath Value[sha]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[sha]