Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
WeakCache
Guides
Weak Cache Functions
Symbols
CheckWeakCache
CleanupAfter
ClearHistory
ClearWeakCache
CreateReference
SameInstanceQ
SetWeakCache
StrongReference
WeakHashTable
WeakReference
JasonB`WeakCache`
C
h
e
c
k
W
e
a
k
C
a
c
h
e
C
h
e
c
k
W
e
a
k
C
a
c
h
e
[
e
x
p
r
,
k
e
y
]
r
e
t
u
r
n
s
t
h
e
v
a
l
u
e
a
s
s
o
c
i
a
t
e
d
w
i
t
h
k
e
y
i
n
a
g
l
o
b
a
l
h
a
s
h
t
a
b
l
e
u
s
i
n
g
a
w
e
a
k
r
e
f
e
r
e
n
c
e
t
o
e
x
p
r
,
a
n
d
$
F
a
i
l
e
d
o
t
h
e
r
w
i
s
e
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
1
)
Basic Examples
(
1
)
As in many examples for this paclet, we set the evaluation history to zero to avoid confusion:
I
n
[
1
]
:
=
$
H
i
s
t
o
r
y
L
e
n
g
t
h
=
0
O
u
t
[
1
]
=
0
I
n
[
2
]
:
=
e
x
p
r
=
M
o
l
e
c
u
l
e
[
B
i
o
S
e
q
u
e
n
c
e
[
"
A
T
T
G
A
C
A
"
]
]
O
u
t
[
2
]
=
M
o
l
e
c
u
l
e
F
o
r
m
u
l
a
:
C
6
9
H
8
7
N
2
7
O
3
9
P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