In [2]:
from whatever import *
__my_chain = __x(5).range.map(lambda x: x+3).list
__my_chain
Out[2]:
In [10]:
from random import random
__random_list = __x(5).range.map(lambda x: random()).list.value()
str(__random_list)
Out[10]:
In [11]:
from random import random
__x(__random_list.__()) * (lambda s: '%3.2f' % s) | list
Out[11]:
In [14]:
from random import random
((__x(__random_list.__()) + (lambda x: x >.5) )
* (lambda s: '%3.2f' % s)
| list
)
Out[14]:
pip install -r requirements-dev.txt
python setup.py develop
watchmedo tricks tricks.yaml
The watchmedo script will convert your notebooks to scripts and html files. py.test-ipynb will test all notebooks matching test-*.ipynb.
jekyll serve docs -wit
Docs are hosted at http://localhost:4000/whatever-forever/.
whatever-forever is released as free software under the BSD 3-Clause license.
In [ ]: