summaryrefslogtreecommitdiffhomepage
path: root/wolfram.html.markdown
diff options
context:
space:
mode:
authorDimitri Kokkonis <kokkonisd@gmail.com>2019-08-06 12:40:31 +0200
committerGitHub <noreply@github.com>2019-08-06 12:40:31 +0200
commit922fc494bcce6cb53d80a5c2c9c039a480c82c1f (patch)
treea62b6e194db73630bfed43301b1c130d52f9dbba /wolfram.html.markdown
parent5710394756a426255d2dc81d2d342e9786ac2c1b (diff)
parent2f0b904f6ffe68d15fedf7e50a3a64e1a47a9145 (diff)
Merge pull request #1 from adambard/master
Update fork
Diffstat (limited to 'wolfram.html.markdown')
-rw-r--r--wolfram.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/wolfram.html.markdown b/wolfram.html.markdown
index 4514006d..5fddbc82 100644
--- a/wolfram.html.markdown
+++ b/wolfram.html.markdown
@@ -123,8 +123,8 @@ myHash[["Green"]] (* 2, use it *)
myHash[["Green"]] := 5 (* 5, update it *)
myHash[["Puce"]] := 3.5 (* 3.5, extend it *)
KeyDropFrom[myHash, "Green"] (* Wipes out key Green *)
-Keys[myHash] (* {Red} *)
-Values[myHash] (* {1} *)
+Keys[myHash] (* {Red, Puce} *)
+Values[myHash] (* {1, 3.5} *)
(* And you can't do any demo of Wolfram without showing this off *)
Manipulate[y^2, {y, 0, 20}] (* Return a reactive user interface that displays y^2