Skip to content

Instantly share code, notes, and snippets.

@fikovnik
Created November 9, 2015 13:15
Show Gist options
  • Select an option

  • Save fikovnik/c6c9137095242821123a to your computer and use it in GitHub Desktop.

Select an option

Save fikovnik/c6c9137095242821123a to your computer and use it in GitHub Desktop.
BI-OMO lab 6 exercise 1
| nand func |
nand := [ :x :y | (x & y) not ].
func := [ :x :y |
"TODO: func"
].
Transcript cr;
show: 'x';
tab;
show: 'y';
tab;
show: 'func';
cr.
#(true false) do: [ :x |
#(true false) do: [ :y |
"TODO: vypis x,y,func"
"e.g. 0 0 1"
Transcript cr.
]].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment