Skip to content

Commit

Permalink
Update SeriouslyCommands.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kckennylau committed Jun 4, 2016
1 parent 76943a8 commit 6419fc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion seriously/SeriouslyCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

# return template_specializer

phi = (1+5**.5)/2

@memoize
def Lucas(n):
[a,b] = fast_fib(n)
Expand Down Expand Up @@ -1173,7 +1175,7 @@ def cumsum_fn(srs):
0xE7:lambda x:x.push(x.pop()*2),
0xEB:dig_fn,
0xEC:lambda x:x.toggle_preserve(),
0xED:lambda x:x.push(1.618033988749895),
0xED:lambda x:x.push(phi),
0xEE:lambda x:x.push(""),
0xEF:lambda x:x.push(list(set(x.pop()).intersection(x.pop()))),
0xF0:lambda x:x.push(eval(x.pop())),
Expand Down

0 comments on commit 6419fc7

Please sign in to comment.