3.10.1 Top new questions this week

3.10.1.1 The Game of Hex in Mathematica
3.10.1.2 Visualize fraction
3.10.1.3 Monad-like structures in Mathematica
3.10.1.4 paclets updating awareness and tracking
3.10.1.5 Is it important that the front-end has a built-in parser?
3.10.1.6 Package organization
3.10.1.7 ClearAll::clloc - "Cannot clear local variable x" in Block[ x , ...] - why?
3.10.1.1 The Game of Hex in Mathematica

http://mathematica.stackexchange.com/questions/125460/the-game-of-hex-in-mathematica

 
The Game of Hex is a game originally developed by Nash, and it's rules are very simple. You start out with a hexagonal tiling of some size: 
 
 
 
There are two players. The game is in turns, and every  ...
 

- asked by TreFox (31 votes), answered by C. E. (26 votes)

3.10.1.2 Visualize fraction

http://mathematica.stackexchange.com/questions/125209/visualize-fraction

 
I would like to visualize a fraction like the square root of 2 with Mathematica. I found this visualization of Pi in the internet and wonder how this would be done with Mathematica. The image shows  ...
 

- asked by Arjihad (22 votes), answered by Kuba (20 votes)

3.10.1.3 Monad-like structures in Mathematica

http://mathematica.stackexchange.com/questions/125537/monad-like-structures-in-mathematica

 
I have been trying to code monad-like structures in Mathematica. However, I am facing some issues and I was wondering if anyone can help. I will give some background in the hope it can be useful to  ...
 

- asked by Diogo Gomes (16 votes), answered by m_goldberg (6 votes)

3.10.1.4 paclets updating awareness and tracking

http://mathematica.stackexchange.com/questions/125199/paclets-updating-awareness-and-tracking

 
It turns out that some silent updating may be done in our computers with paclets. See for example here. How are we aware that something has been changed ? Can we track updating/versions of paclets ? 
 
...
 
- asked by andre 16votes
3.10.1.5 Is it important that the front-end has a built-in parser?

http://mathematica.stackexchange.com/questions/125180/is-it-important-that-the-front-end-has-a-built-in-parser

 
The Notebook interface has a parser that seems aware of all operator-precedences, allowing us to step through the expressions (rather: Box-) hierarchy with Ctrl+. 
 
This is extremely convenient, saving  ...
 

- asked by masterxilo (15 votes), answered by John Fultz (18 votes)

3.10.1.6 Package organization

http://mathematica.stackexchange.com/questions/125579/package-organization

 
When writing a Mathematica package Foo, with functions f1, f2 and f3, one can use the template: 
 
BeginPackage["Foo`"]; 
 
f1::usage = "f1[] ...."; 
 
f2::usage = "f2[] ...."; 
 
Begin["`Private`"]; 
 
f1[]:=  ...
 

- asked by Pixor (14 votes), answered by Szabolcs (17 votes)

3.10.1.7 ClearAll::clloc - "Cannot clear local variable x" in Block[ x , ...] - why?

http://mathematica.stackexchange.com/questions/125251/clearallclloc-cannot-clear-local-variable-x-in-blockx-why

 
Block[{x}, ClearAll@x] 
 
 
 
ClearAll::clloc: Cannot clear local variable x. 
 
 
The documentation just says 
 
 
An error occurs because ClearAll cannot be used with a local variable in Block: 
 
 
and 
 
 
...
 
- asked by masterxilo 14votes