Add bool function to mimic Python semantics.

This commit is contained in:
Simon Forman 2019-07-16 08:41:28 -07:00
parent 06b81914eb
commit c4c6ece6d2
2 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,6 @@ S_pop = Symbol('pop')
S_step = Symbol('step')
S_times = Symbol('times')
S_swaack = Symbol('swaack')
S_truthy = Symbol('truthy')
@inscribe

View File

@ -1,5 +1,6 @@
-- == 1 -
++ == 1 +
? == dup bool
anamorphism == [pop []] swap [dip swons] genrec
app1 == grba infrst
app2 == [grba swap grba swap] dip [infrst] cons ii