// Schemas are defined in a ui, not in text, they are too rich
// States are defined in a ui, not in text, they are too rich
calculateAverages(cells: Cells) {
// This function has no context (this/self)
// It is pure, no side-effects
// It cannot run tasks
// It can't modify tables, or any data really
// It can be given table cells as arguments to read, but again can't modify them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# This is a Python implementation of the QuickPerm algorithm described by Phillip Paul Fuchs at http://www.quickperm.org | |
# that generates all permutations of a list without using recursion. | |
# | |
a = ['a', 'b', 'c', 'd'] | |
N = len(a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* |