Skip to content

Commit c1a0679

Browse files
committed
Renaming the upcoming global import file to std.experimental.all
1 parent 06b37c9 commit c1a0679

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

changelog/std-experimental-scripting.dd renamed to changelog/std-experimental-all.dd

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
`import std.experimental.scripting` as a global convenience import
1+
`import std.experimental.all` as a global convenience import
22

3-
$(MREF std,experimental,scripting) allows convenient use of all Phobos modules
3+
$(MREF std,experimental,all) allows convenient use of all Phobos modules
44
with one import:
55

66
---
7-
import std.experimental.scripting;
7+
import std.experimental.all;
88
void main()
99
{
1010
10.iota.map!log.sum.writeln;
@@ -13,11 +13,11 @@ void main()
1313

1414
For short scripts a lot of imports are often needed to get all the
1515
modules from the standard library.
16-
With this release it's possible to use `import std.experimental.scripting` for importing the entire
16+
With this release it's possible to use `import std.experimental.all` for importing the entire
1717
standard library at once. This can be used for fast prototyping or REPLs:
1818

1919
---
20-
import std.experimental.scripting;
20+
import std.experimental.all;
2121
void main()
2222
{
2323
6.iota
@@ -34,6 +34,6 @@ In this case, $(LINK2 $(ROOT)spec/module.html#static_imports, static imports) or
3434
$(LINK2 $(ROOT)spec/module.html#renamed_imports, renamed imports) can be used
3535
to uniquely select a specific symbol.
3636

37-
The baseline cost for `import std.experimental.scripting`
37+
The baseline cost for `import std.experimental.all`
3838
is less than half a second (varying from system to system) and
3939
work is in progress to reduce this overhead even further.

posix.mak

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ PACKAGE_std = array ascii base64 bigint bitmanip compiler complex concurrency \
195195
outbuffer parallelism path process random signals socket stdint \
196196
stdio string system traits typecons uni \
197197
uri utf uuid variant xml zip zlib
198-
PACKAGE_std_experimental = checkedint typecons scripting
198+
PACKAGE_std_experimental = all checkedint typecons
199199
PACKAGE_std_algorithm = comparison iteration mutation package searching setops \
200200
sorting
201201
PACKAGE_std_container = array binaryheap dlist package rbtree slist util

std/experimental/scripting.d renamed to std/experimental/all.d

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/++
22
Convenience file that allows to import entire Phobos in one command.
33
+/
4-
module std.experimental.scripting;
4+
module std.experimental.all;
55

66
///
77
@safe unittest
88
{
9-
import std.experimental.scripting;
9+
import std.experimental.all;
1010

1111
int len;
1212
const r = 6.iota
@@ -23,7 +23,7 @@ module std.experimental.scripting;
2323
///
2424
@safe unittest
2525
{
26-
import std.experimental.scripting;
26+
import std.experimental.all;
2727
assert(10.iota.map!(partial!(pow, 2)).sum == 1023);
2828
}
2929

win32.mak

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ SRC_STD_INTERNAL_WINDOWS= \
284284
std\internal\windows\advapi32.d
285285

286286
SRC_STD_EXP= \
287-
std\experimental\checkedint.d std\experimental\typecons.d std\experimental\scripting.d
287+
std\experimental\all.d std\experimental\checkedint.d std\experimental\typecons.d
288288

289289
SRC_STD_EXP_ALLOC_BB= \
290290
std\experimental\allocator\building_blocks\affix_allocator.d \

win64.mak

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ SRC_STD_INTERNAL_WINDOWS= \
309309
std\internal\windows\advapi32.d
310310

311311
SRC_STD_EXP= \
312-
std\experimental\checkedint.d std\experimental\typecons.d std\experimental\scripting.d
312+
std\experimental\all.d std\experimental\checkedint.d std\experimental\typecons.d
313313

314314
SRC_STD_EXP_ALLOC_BB= \
315315
std\experimental\allocator\building_blocks\affix_allocator.d \

0 commit comments

Comments
 (0)