Skip to content

Instantly share code, notes, and snippets.

@andreiglingeanu
Created April 21, 2017 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreiglingeanu/2fd68e6a90abbbac33b131c5eb92e3af to your computer and use it in GitHub Desktop.
Save andreiglingeanu/2fd68e6a90abbbac33b131c5eb92e3af to your computer and use it in GitHub Desktop.
Cells in Mozzart
% note that oz has variables and cells which are different beasts
% variables are more like mathematical structures which conform to
% dataflow laws in Mozart
% https://mozart.github.io/mozart-v1/doc-1.4.0/tutorial/node8.html
declare
C={NewCell 0} % creation of a cell
C:=@C+5 % := is assignment and @ is read
{Show @C}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment