Skip to content

Commit 0942244

Browse files
committed
Improved README once more
1 parent 64e4221 commit 0942244

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
`ClobberingReload.creload(modulename)` is a drop-in replacement for
1010
`reload(modulename)`, that does not require rebuilding the state after `reload`,
1111
because the reloaded module's new functions are applicable to the existing
12-
objects. It is ideally suited for exploratory REPL-heavy workflows, and also
13-
works with modules imported via `using` (so no need for prefixing every function
14-
call with its module name)
12+
objects. It is ideally suited for exploratory REPL-heavy workflows.
1513

1614
Additionally, `ClobberingReload` provides functionality for automatically
1715
reloading modified modules. It is a direct successor to **@malmaud**'s
@@ -33,7 +31,7 @@ and please report any issues you encounter.
3331

3432
```julia
3533
using ClobberingReload
36-
using Houses
34+
using Houses # unlike with `reload`, `using` modules is fine
3735

3836
h = House(nwindows=10)
3937
println("Price of house:$(price(h))")
@@ -43,7 +41,7 @@ println("Price of house:$(price(h))")
4341

4442
creload("Houses")
4543

46-
println("Price of house:$(price(h))")
44+
println("Price of house:$(price(h))") # no need to redefine h
4745
> Price of house: 130
4846
```
4947

0 commit comments

Comments
 (0)