Thun/docs/sphinx_docs/_build/html/searchindex.js

1 line
30 KiB
JavaScript

Search.setIndex({docnames:["index","joy","lib","library","notebooks/0. This Implementation of Joy in Python","notebooks/1. Basic Use of Joy in a Notebook","notebooks/2. Library Examples","notebooks/3. Developing a Program","notebooks/4. Replacing Functions in the Dictionary","notebooks/Advent of Code 2017 December 1st","notebooks/Advent of Code 2017 December 2nd","notebooks/Advent of Code 2017 December 3rd","notebooks/Advent of Code 2017 December 4th","notebooks/Advent of Code 2017 December 5th","notebooks/Advent of Code 2017 December 6th","notebooks/Generator Programs","notebooks/Hylo-, Ana-, Cata-, and Para-morphisms - Recursion Combinators","notebooks/Newton-Raphson","notebooks/Quadratic","notebooks/Trees","notebooks/Zipper","notebooks/index","parser","pretty","stack"],envversion:52,filenames:["index.rst","joy.rst","lib.rst","library.rst","notebooks/0. This Implementation of Joy in Python.rst","notebooks/1. Basic Use of Joy in a Notebook.rst","notebooks/2. Library Examples.rst","notebooks/3. Developing a Program.rst","notebooks/4. Replacing Functions in the Dictionary.rst","notebooks/Advent of Code 2017 December 1st.rst","notebooks/Advent of Code 2017 December 2nd.rst","notebooks/Advent of Code 2017 December 3rd.rst","notebooks/Advent of Code 2017 December 4th.rst","notebooks/Advent of Code 2017 December 5th.rst","notebooks/Advent of Code 2017 December 6th.rst","notebooks/Generator Programs.rst","notebooks/Hylo-, Ana-, Cata-, and Para-morphisms - Recursion Combinators.rst","notebooks/Newton-Raphson.rst","notebooks/Quadratic.rst","notebooks/Trees.rst","notebooks/Zipper.rst","notebooks/index.rst","parser.rst","pretty.rst","stack.rst"],objects:{"joy.joy":{joy:[1,1,1,""],repl:[1,1,1,""],run:[1,1,1,""]},"joy.library":{"void":[3,1,1,""],BinaryBuiltinWrapper:[3,1,1,""],DefinitionWrapper:[3,2,1,""],FunctionWrapper:[3,1,1,""],SimpleFunctionWrapper:[3,1,1,""],UnaryBuiltinWrapper:[3,1,1,""],add_aliases:[3,1,1,""],app1:[3,1,1,""],app2:[3,1,1,""],app3:[3,1,1,""],b:[3,1,1,""],branch:[3,1,1,""],choice:[3,1,1,""],clear:[3,1,1,""],concat:[3,1,1,""],cons:[3,1,1,""],dip:[3,1,1,""],dipd:[3,1,1,""],dipdd:[3,1,1,""],divmod_:[3,1,1,""],drop:[3,1,1,""],dup:[3,1,1,""],dupd:[3,1,1,""],dupdip:[3,1,1,""],first:[3,1,1,""],floor:[3,1,1,""],genrec:[3,1,1,""],getitem:[3,1,1,""],help_:[3,1,1,""],i:[3,1,1,""],id_:[3,1,1,""],ifte:[3,1,1,""],infra:[3,1,1,""],initialize:[3,1,1,""],inscribe:[3,1,1,""],loop:[3,1,1,""],map_:[3,1,1,""],max_:[3,1,1,""],min_:[3,1,1,""],over:[3,1,1,""],parse:[3,1,1,""],pm:[3,1,1,""],pop:[3,1,1,""],popd:[3,1,1,""],popdd:[3,1,1,""],popop:[3,1,1,""],pred:[3,1,1,""],remove:[3,1,1,""],rest:[3,1,1,""],reverse:[3,1,1,""],rolldown:[3,1,1,""],rollup:[3,1,1,""],select:[3,1,1,""],sharing:[3,1,1,""],shunt:[3,1,1,""],sort_:[3,1,1,""],sqrt:[3,1,1,""],stack_:[3,1,1,""],step:[3,1,1,""],succ:[3,1,1,""],sum_:[3,1,1,""],swaack:[3,1,1,""],swap:[3,1,1,""],take:[3,1,1,""],times:[3,1,1,""],tuck:[3,1,1,""],uncons:[3,1,1,""],unique:[3,1,1,""],unstack:[3,1,1,""],warranty:[3,1,1,""],words:[3,1,1,""],x:[3,1,1,""],zip_:[3,1,1,""]},"joy.library.DefinitionWrapper":{add_def:[3,3,1,""],add_definitions:[3,3,1,""],parse_definition:[3,3,1,""]},"joy.parser":{ParseError:[22,4,1,""],Symbol:[22,2,1,""],text_to_expression:[22,1,1,""]},"joy.utils":{pretty_print:[23,0,0,"-"],stack:[24,0,0,"-"]},"joy.utils.pretty_print":{TracePrinter:[23,2,1,""]},"joy.utils.pretty_print.TracePrinter":{viewer:[23,5,1,""]},"joy.utils.stack":{expression_to_string:[24,1,1,""],iter_stack:[24,1,1,""],list_to_stack:[24,1,1,""],pick:[24,1,1,""],pushback:[24,1,1,""],stack_to_string:[24,1,1,""]},joy:{joy:[1,0,0,"-"],library:[3,0,0,"-"],parser:[22,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","classmethod","Python class method"],"4":["py","exception","Python exception"],"5":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:classmethod","4":"py:exception","5":"py:method"},terms:{"0b11100111011011":7,"0th":4,"10m":16,"10n":16,"1st":21,"2nd":21,"3rd":21,"4ac":18,"4th":21,"5bkei":19,"5th":21,"6th":21,"\u03b5":17,"abstract":[4,19],"boolean":[2,3,4,6,19],"break":[4,14],"byte":7,"case":[2,3,4,6,8,10,14,16,17,24],"class":[3,4,22,23],"default":[3,13,15],"export":[3,4,22],"final":[2,6,11,16],"float":[3,4,20,22],"function":[0,1,5,6,7,8,9,10,11,12,13,15,17,20,21,22,23,24],"g\u00e9rard":20,"import":[2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],"int":[4,11,15,16,20,22],"long":21,"new":[2,3,4,6,8,11,15,16,19],"return":[1,3,4,7,8,10,11,13,14,16,18,19,22,24],"short":18,"static":[2,6],"switch":[2,6],"true":[2,3,5,6,7,10,11,16,19],"try":[4,11,15,16],"void":[0,3,4,21],"while":[3,4,11,13,14,21,22],Adding:[4,21],And:[4,7,9,11,15,16,17,19,20],But:[0,4,7,10,16,19],For:[2,3,4,6,9,10,11,12,13,15,16,19,24],Going:10,Has:3,Its:3,Not:11,One:[2,4,6,21],RHS:19,TOS:[2,3,6,16],That:[4,7,16,19],The:[0,1,2,3,5,6,8,9,10,11,12,13,15,17,18,19,20,21,22,24],Then:[2,3,6,10,13,18,19],There:[0,4,11,13,16,19],Use:[3,16],Using:[11,16,19,21],With:[9,16,21],_pars:4,_print:[],aaa:12,abbrevi:19,about:[0,4,11,13,19,20,24],abov:[0,7,8,11,17,18,19,21],abs:[11,17],absolut:[4,11],accept:[1,2,3,4,6,7,16,19,20],access:[11,13],accomplish:18,accordingli:19,accumul:7,across:[11,13],action:[4,20],actual:[2,4,6,7,11,19],add:[3,4,7,9,10,11,15,18,19,21,23],add_alias:3,add_def:3,add_definit:[3,13,16,19],add_if_match:9,add_valu:13,added:19,adding:[7,11,19],addit:[0,2,3,4,6,7,13,16,19],address:21,admit:11,advantag:16,advent:21,after:[4,7,9,11,13,15],afterward:4,again:[2,3,4,6,7,11,13,19],against:[10,11],aggreg:[3,4,20],aka:[20,21],albrecht:0,algebra:19,algorithm:4,alia:3,alias:[3,4],align:[4,5],all:[3,4,7,9,10,15,16,17,19],alloc:11,allow:[16,19],almost:19,alon:17,along:[4,16],alphabet:3,alreadi:[8,11,20],also:[0,4,7,16],altern:19,although:[9,19],altogeth:15,alwai:[7,11,16],amort:19,amount:11,ana:21,analysi:21,anamorph:[4,21],ani:[4,7,13,19,20,22],annual:4,anonym:19,anoth:[9,16,19],answer:11,anyth:[2,3,4,6],aoc20017:10,aoc20173:11,aoc2017:[9,10,11,12,13,14],app1:[3,4,21],app2:[3,4,8,10,18,21],app3:[3,4,21],app:4,appear:[2,6,7,12,19],append:[4,13],appli:[2,3,6,7,10,17,19],applic:15,approach:7,approxim:17,archiv:0,aren:20,arg:[2,3,6],argument:[2,3,4,6,15,16,24],arithmet:[2,6],ariti:[2,6],around:[4,7,24],arrai:13,arrang:13,arriv:[15,19],art:5,articl:0,ask:[11,15],aspect:[0,11],assembl:13,assert:[11,14],assign:[4,24],associ:19,assum:[9,10,12,13],asterisk:19,attack:4,attempt:[0,1],attribut:3,automat:16,automodul:[],avail:[0,12],averag:[4,8,21],avoid:19,awar:[2,6],awkward:19,back:[11,13,19],backward:[4,19],bad:4,bag:4,banana:[16,19],bank:14,barb:16,base:[2,3,6,10,14,16,17],basic:[1,2,3,4,6,9,11,19],bear:13,beat:13,beauti:5,becaus:[2,3,4,6,9,10,11,13,16,19,20],becom:[4,9,18,19,24],been:[16,19,20],befor:[4,10,13,15,16,19],begin:[11,16,19],behavior:[17,19],behaviour:[0,1],behind:13,being:0,belong:13,below:[2,3,6,7,11,15,17,19,20],bespok:4,best:0,better:[7,11,15,19],between:[0,7,10,11],biannual:4,big:[11,13,19],binari:[0,4,15,19,21],binary_search_tre:19,binarybuiltinwrapp:3,bind:4,bingo:20,bit:[7,11,15,19],block:[7,14],bodi:[2,4,6,19],body_text:3,bool:[10,16],both:[2,4,6,7,8,11,13,16,17],bottom:15,boundari:11,bracket:[4,11,22],branch:[3,4,7,9,10,13,15,17,19,21],breakdown:21,breakpoint:4,bring:[4,7],btree:21,buck:19,bug:[0,4],build:[4,16,19,20],built:16,bundl:[2,3,6],burgeon:4,calcul:11,call:[2,4,6,16],caller:19,came:[13,19],can:[0,2,3,4,6,7,8,9,10,11,15,16,17,18,19,20,24],candid:10,captur:4,card:4,care:[4,7,11,24],carefulli:[19,20],carri:[9,11,16],cata:21,catamorph:[8,21],ccon:19,ceil:11,certain:[4,24],certainli:19,chang:[2,6,11,13,19,20],charact:20,chat:4,chatter:[0,21],cheat:14,check:[10,15,16,21],checksum:10,child0:19,child:19,childn:19,children:19,choic:[3,4,16,21],choos:19,circular:[9,19],cite_not:19,classmethod:3,clear:[3,4,7,11,21],cleav:[4,8,9,10,12,18,21],close:[0,1,4],clunki:7,cmp:21,cmp_:19,code:[0,1,4,5,16,17,19,21],codicil:21,collaps:16,collect:[4,15],column:11,combin:[0,3,4,7,12,15,20,21],come:[4,11,13],command:[4,9,19],common:[2,6,7,16],compar:[11,19],comparison:[0,21],compil:[2,4,6,13,16,21],complex:[3,20],compos:16,compound:19,comput:[2,4,6,7,10,11,13,17],con:[3,4,7,10,13,14,15,16,18,20,21,24],concat:[3,4,9,15,16,19,21],concatin:[3,24],concis:11,concret:16,concurr:[2,6],condit:[4,13],condition:10,confid:11,conflict:19,cons2:19,consecut:15,consid:[7,13,15,16,19,20],consist:[2,4,6,11,19],constant:19,constitu:16,consum:[10,16],contain:[0,2,3,4,6,11,12,15,16],content:[],context:[2,6],continu:[0,5,10,16,20],control:4,convert:[4,8,16,19,22,24],cook:16,cool:19,copi:[2,3,6,7,9,16,19],copyright:4,corner:11,correct:11,correctli:19,could:[2,4,6,7,11,13,16,19,20],count:[3,11,12,15],count_stat:14,counter:7,cours:[7,11,13,16,19],cover:11,cpu:11,crack:19,crap:21,crash:19,creat:[0,2,3,6,7,9,15,16,19],crude:[19,22],csp:4,current:[2,3,4,5,6,13,16,20],cycl:[7,15],cython:4,dai:[4,16],data:[2,3,4,6,11],datastructur:[2,4,6,16,19,20,22,24],datatyp:[4,24],ddididi:20,deal:[0,9,19],debugg:16,decemb:21,decid:19,decor:3,decoupl:16,decreas:11,decrement:3,deduc:7,deeper:0,def:[3,4,5,8,11,13,14,16,18,19,24],defi:3,defin:[2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,19,20,21],definit:[2,3,4,6,7,8,12,13,15,16,19,21],definitionwrapp:[3,13,16,19],deleg:4,delet:21,demonstr:16,depend:[16,19],deposit:19,dequot:[9,16],deriv:[2,3,4,6,7,9,10,21],descend:10,describ:[3,4,16,19,22],descript:[4,7,19],design:[2,3,6,10,19],desir:[4,11,19],destruct:19,detail:[4,11,19],detect:[10,15,16,19],determin:[10,11,21],develop:[4,15],diagram:7,dialect:1,dict:[1,3],dictionari:[1,3,4,5,8,18,19],did:11,didn:16,differ:[0,7,10,12,16,19],dig:20,digit:[7,9],dimension:11,dinfrirst:4,dip:[3,4,7,8,10,11,13,14,15,16,17,18,19,21],dipd:[3,4,13,15,16,18,19,20,21],dipdd:[3,4,19,21],direco:[14,21],direct:4,directli:[4,7,11,19,24],disappear:[2,6],discard:[3,15,16,17,19],discov:10,disenstacken:[4,19,21],disk:4,displac:[2,6],distanc:11,distribut:14,ditch:19,div:[3,4,21],dive:19,divid:10,divis:[10,19],divisor:10,divmod:[3,10],divmod_:3,doc:[2,3,4,6],document:[21,22],doe:[0,1,4,10,11,13,16,21,23],doesn:[4,7,9,13,16,19,24],dog:19,doing:[4,7,11,16,20],domain:11,don:[7,10,11,13,19],done:[2,4,6,7,15],doodl:11,door:4,doubl:7,down:[2,3,6,11,13,20],down_to_zero:[4,21],downward:13,dozen:4,draft:14,dream:4,drive:15,driven:7,driver:15,drop:[3,9,19,21],dudipd:4,due:9,dummi:10,dup:[3,4,5,7,9,10,11,13,14,15,16,17,18,19,20,21,24],dupd:[3,4,21],dupdip:[3,4,7,10,11,16,18,19,21],duplic:[3,12,16,19],durat:[2,6],dure:[2,6,8,16],each:[2,3,4,5,6,7,8,9,10,11,13,16,19],easi:[0,11,17,19,20],easier:[3,9,19],effect:[2,3,4,6,20],effici:[11,13,20],either:[1,2,3,6,10,16,19],eleg:[4,13,18,19],element:[2,3,6],elif:4,els:[2,3,4,6,9,10,13,14,16,19],embed:[19,20],empti:[3,4,10,19,24],enabl:4,encapsul:4,enclos:4,encod:[13,15],encount:13,end:[4,7,11,13,16,24],endless:15,enforc:[2,4,6],engend:4,enlarg:11,enough:[4,11,16,18],enstacken:[4,15,21],ensur:12,enter:4,entri:[3,20],epsilon:17,equal:[7,19],equat:[4,11,17],ergo:[11,16,19],err:[17,19],error:[4,11,17,22],escap:13,estim:17,etc:[3,11,20,21,22],euler:21,evalu:[1,2,3,4,5,6,8,9,16,19],even:[13,21],evenli:10,eventu:11,everi:15,everyth:[3,19],exactli:16,exampl:[0,3,4,7,9,10,11,12,13,15,16,19,21,22,24],exce:15,except:[4,19,22],execut:[0,1,2,3,4,6,8,10,17,20],exit:13,expect:[2,3,4,6,10,16,17,19,24],experi:4,experiment:11,explan:4,explor:4,express:[0,1,2,3,4,5,6,8,16,19,20,23,24],expression_to_str:[4,24],extend:11,extra:[4,7,9,10],extract:[19,21],extrem:4,extrememli:4,facet:0,facil:[4,5],fact:[19,22],factor:[2,4,6,7,21],factori:21,fail:[2,3,6,10,19,22],fals:[2,3,5,6,7,10,14,16],far:[13,16,19],fascin:0,fast:11,faster:11,fear:19,feel:11,few:[4,7,11],fewer:[3,4],fib:15,fib_gen:15,fibonacci:21,figur:[2,3,6,11,19],filter:[7,19],fin:7,find:[2,3,5,6,7,9,10,15,19,21,24],fine:[0,7,19],first:[3,4,5,8,9,10,11,13,14,15,16,18,19,20,21],fit:[4,7,18],five:[4,7,16,21],fix:[2,3,6],flag:10,flatten:[4,19,21],flexibl:19,floor:[3,11],floordiv:[4,7,21],flow:4,follow:[0,2,3,4,6,10,13,16,20],foo:19,form:[2,3,4,6,7,10,12,15,21,24],forman:4,format:23,formula:[7,11,21],forth:[4,9,13,19],fortun:13,forum:0,forward:[10,13],found:[4,13,14,19],four:[2,3,4,6,7,11,13,15,19,21],fourteen:7,fourth:[2,3,6,9,19],fractal:4,fraction0:4,fraction:[2,4,6],fragment:17,frame:4,framework:4,free:[4,19],freeli:[2,6,11],from:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,24],front:[2,3,6],ftw:21,full:[7,12],fun:11,functionwrapp:[3,19],funtion:19,further:21,fusion:21,futur:18,garbag:4,gari:19,gcd:[4,5,21],gen:14,gener:[2,3,4,6,11,13,17,21],genrec:[3,4,10,13,16,19,21],geometr:7,geometri:19,get:[2,4,6,7,8,10,11,15,16,17,21],get_valu:13,getdoc:4,getitem:[3,4,21],getsourc:4,give:[4,7,11,16,24],given:[2,3,6,7,8,9,10,11,13,14,15,19,20,21],glob:[],glue:4,goal:13,going:[10,11,13,19,20],good:[7,13,19],grab:3,grammar:22,grand:4,graph:11,great:[0,4,9,11],greater:[11,19],grid:11,group:[0,11],guard:[10,11],gui:[],had:[7,20],haiku:4,half:[7,20],half_of_s:9,halfwai:9,hand:[4,8,19],handl:[],happen:[4,11,19],hard:[17,20],hardli:16,has:[0,2,4,5,6,10,11,13,15,16,19,20,24],have:[2,3,4,6,7,9,10,11,13,14,15,16,19,20],head:[4,10,16,24],heh:[],hei:[],help:[4,8,12,16,19,21],help_:3,helper:[3,5,10],herd:4,here:[5,11,15,16,17,19,20,21],heterogen:19,heurist:[9,13],hide:19,higher:[4,19],highest:10,highli:[4,19],hindsight:10,hmm:19,hog:19,hoist:3,hold:7,hood:13,hope:[0,4,7],how:[0,7,11,12,13,16,19,20,21],html:[2,3,6,15,18],http:[4,19],huet:20,hugh:[17,19],human:4,hylo:21,hylomorph:21,hypothet:[2,6],id_:3,idea:[4,7,19],ident:[3,16],identifi:11,ift:[3,4,9,10,13,16,17,19,21],ignor:[3,19],illustr:16,imagin:20,immedi:[13,16],immut:[4,19],imper:16,implement:[0,1,2,3,4,6,11,14,16,18,19],impli:10,implicit:4,includ:12,inclus:7,incom:[4,24],incr_at:13,incr_step_count:13,incr_valu:13,increas:[7,11,13],increment:[3,7],index:[0,4,11,14],index_of:14,indexerror:4,indic:19,infil:19,infinit:11,inform:3,infra:[3,4,8,15,16,18,19,21],infrastructur:3,init:13,init_print:11,initi:[2,3,4,5,6,8,10,11,12,13,17,19],inlin:19,inner:10,input:[1,9,10,11,12,16],inscrib:3,inspect:4,instal:0,instead:[7,11,15,16,19,20],instruct:13,integ:[2,3,4,6,7,9,10,11,12,13,15,16],integr:3,intend:[0,4],interact:4,interest:[0,7,11,15,19],interlock:11,intermedi:16,intern:0,interpret:[0,5,16,21,22],interrupt:4,interv:7,invari:3,invers:3,ipf:4,ipynb:15,isinst:4,isn:[16,19,20],item:[2,3,4,6,9,10,14,16,19,21,24],iter:[1,3,4,11,16,21,24],iter_stack:[4,8,14,24],its:[0,2,3,4,6,7,10,11,16,19,24],itself:[0,2,4,6,13,19],j05cmp:[2,3,6],jenni:19,job:13,john:[17,19],joi:[2,5,6,7,8,9,10,12,13,14,18,19,21],join:4,joy_:[],joypi:[13,14,16,19,20,21],jump:13,jupyt:0,just:[0,2,3,4,6,7,9,10,11,13,15,16,20],keep:20,kei:21,kevin:0,key_n:19,keyerror:19,kind:[2,4,5,6,11,13,16,19],kleen:19,know:[7,11,16,19],lambda:16,lambdifi:11,languag:[4,19],larg:11,larger:11,largest:[3,10,13],last:[7,9,13,16],lastli:[15,16],later:[4,13,17],law:[2,6,21],lcm:7,lead:[4,13],leaf:19,lean:4,learn:[0,14],least:[2,4,6,7,11,13,16,24],least_fract:[4,21],leav:[7,10,11,13,15,17,19],left:[4,5,11,15,16,20,24],leftov:16,legendari:13,legibl:13,len:14,length:[3,7],lens:16,less:[4,7,15,16,19],lesser:11,let:[4,7,9,10,11,13,15,16,17,18,19,20],level:19,lib:[],librari:[0,5,8,11,13,14,18,19,21],lieu:19,like:[2,3,4,5,6,7,10,11,14,16,18,19,22],line:[3,4,5,10,13,16,19],linear:24,link:0,linux:0,list:[0,3,7,9,10,12,13,14,20,21],list_to_stack:[4,13,14,24],liter:[1,19,20,22],littl:[11,13,19,21],lkei:19,load:[4,7],locat:[2,6,11],log_2:19,logic:[0,7,21],longer:[5,19],look:[4,11,15,19],lookup:[4,19],loop:[1,3,5,7,21],lot:[4,18,19,20],love:7,lower:7,lowest:10,lshift:[4,21],machin:[0,19],machineri:19,macro:4,made:[0,4,10,19,20],mai:[2,4,6,13,16,19],mail:0,main:[0,3,4,9,20],maintain:20,make:[2,3,4,6,7,8,9,16,20],make_distributor:14,manfr:[0,2,3,6],manhattan:11,mani:[0,4,11,12,13,15,16],manipul:11,manual:[11,16],map:[1,3,4,7,16,19,21],map_:3,mark:[11,13],marker:4,mask:[7,15],match:[0,1,9],materi:0,math:[0,4,11,13,19,21],mathemat:[4,11],matter:[7,9,16,17,19],max:[10,11,14],max_:3,maxdepth:[],maximum:[3,19],maxmin:10,mayb:[16,19],maze:13,mean:[4,7,10,16,19,24],meant:[4,16,19],meantim:13,mem:13,member:[2,3,6,11],memori:11,mental:4,mention:[2,6],mercuri:0,merg:19,meta:[4,19],methink:19,method:[3,4,11,21,23],mfloor:11,midpoint:7,might:[9,15,16,19],million:15,min:[4,10,21],min_:3,mind:13,minimum:3,minu:[3,18],mirror:0,miscellan:[0,21],mistak:14,mix:4,mnemon:9,mod:[3,4,21],model:4,modern:0,modif:[15,21],modifi:[4,13,20],modul:[0,1,3,4,22],modulu:[4,5,21],monkei:11,month:4,more:[0,3,4,7,8,12,13,15,16,18,19,22,24],most:[4,19],mostli:0,move:[9,11,13],movement:[2,6],mrank_of:11,much:[4,7,11,13,16,19],muck:19,mul:[4,18,20,21,23],multi:3,multipl:[16,21],must:[2,3,6,7,10,11,12,16,19],mutabl:13,n_kei:19,n_rang:15,n_valu:19,nail:13,name:[1,3,4,8,9,20,21,22,24],nativ:21,natur:[7,15,19],navig:20,need:[2,3,5,6,7,9,10,11,13,14,15,16,17,19],neg:[3,4,13,18,21],nest:[4,19,20],net:[],network:4,newton:21,next:[7,8,9,10,11,13,16,17,19],nice:[0,4,9,11,16,24],niether:[2,6],node:21,non:[10,19],none:[1,3,4],normal:[12,16],notat:[4,19],note:[2,4,6,7,11,19,24],notebook:[0,4,7,20],notebook_preambl:[2,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],noth:[2,4,19],notic:7,now:[4,7,8,9,10,11,15,16,17,19],nth:[3,24],nullari:[4,10,13,14,17,19,21],number:[1,2,3,6,7,8,10,15,17,21,24],object:22,observ:7,obviou:[15,17],obvious:[10,12,13],occur:19,odd:[7,15],off:[2,3,6,7,11,15,20],offset:13,offset_of:11,old:[2,6,8],old_siz:8,old_sum:8,omit:16,onc:[3,12,18,19],one:[2,3,4,5,6,7,9,10,11,12,13,15,16,19,24],ones:15,onli:[2,3,4,6,7,9,10,11,13,16,19,20],onto:[1,2,3,4,6,24],open:[4,12],oper:[3,4,10,16,19,24],oppos:9,option:1,order:[2,3,4,6,9,10,16,21],org:[4,19],origin:[0,1,2,3,6,9,19,20],other:[0,2,3,4,6,10,11,16,19,24],otherwis:[3,4,7,10,15,19],our:[4,7,9,10,11,15,16,21],ourselv:16,out:[2,3,4,5,6,7,11,15,16,19,20],outcom:19,output:[11,16],outsid:13,outward:11,over:[3,4,7,9,11,15,18,19,21],overhead:11,overkil:16,overshadow:11,own:[11,19],pack:[4,19,24],packag:[0,4],page:[0,18,19],pair:[2,3,6,7,9,10,15],pair_up:9,palidrom:7,palindrom:7,pam:[4,21],paper:[4,11,16,19,20],para:21,parallel:[2,6],param:[],paramet:[1,2,3,6,13,16,22],parameter:21,paramorph:21,paranthes:19,parenthes:[4,13,19,24],pariti:15,pars:[0,3,4,19,21],parse_definit:3,parseerror:[4,22],parser:[0,21],part:[2,3,6,10,13,16,19],partial:[11,16],particular:20,particularli:13,pass:[0,19,23],passphras:12,path:[11,21],pattern:[7,11,19,21],payoff:16,pe1:[7,15],pe2:15,pearl:20,pend:[3,4,5,16,20],per:[4,5,11],perform:13,perhap:15,period:[4,5],permit:[4,13,24],persist:19,phase:[2,6],pick:[7,15,24],pickl:4,pictur:19,piec:16,pip:0,pita:14,place:[3,4,7,11,13,16],plai:0,plain:13,plane:11,plu:[3,11,18],plug:[15,16,19],point:[4,11,16,19],pointless:[2,6],pop:[3,4,5,7,8,9,10,13,14,15,16,18,19,21,24],popd:[3,4,8,13,17,21],popdd:[3,4,10,15,18],popop:[3,4,7,9,10,13,14,15,16,17,19,21],port:11,posit:[3,4,5,7,13,16],possibilit:19,possibl:[10,19],post:[4,19],potenti:3,pow:[4,21],power:[4,21],pragmat:7,pre:[13,16,19],preambl:21,precis:[0,1,17],pred:[3,4,21],predic:[2,6,7,10,15,16,17,19],prefer:16,prefix:16,prep:[10,19],prepar:[13,16],preprocessor:16,present:19,pretti:[4,11,17,18,19,23,24],pretty_print:[0,5],prevent:16,previou:[4,11,13],pribrari:[],prime:10,primit:[2,3,6,8,13,18],primrec:[3,4,10,13,14,15,16,17,21],print:[1,2,3,5,6,11,16,23,24],print_:5,probabl:[4,9,15,19],problem:[4,11,21],proc_curr:19,proc_left:19,proc_right:19,proce:[7,9],process:[4,13,16],processor:19,produc:[7,9,16,19],product:[4,21],program:[0,2,3,4,6,9,10,11,13,15,17,19,20,21],programming_languag:[],project:21,prompt:4,proper:[2,3,6],properli:13,properti:0,provid:[0,3,4],prune:19,pun:[0,4],pure:[4,19],purely_functional_data_structur:4,puriti:4,purpos:4,push:[2,3,4,6,16,20,24],pushback:[4,19,24],put:[1,2,4,6,15,24],puzzl:[9,10,11,12],pypi:0,pyramid:11,python:[0,2,3,6,8,11,13,16,18,19,20,21,22,24],quadrat:[11,21],queri:19,queu:16,quit:[0,1,11],quot:[0,1,3,8,15,16,19,20,21,22],quotat:[2,3,6],quotient:3,rais:[4,19,22],random:13,rang:[4,7,11,16,21],range_sum:16,range_to_zero:[4,21],rank_and_offset:11,rank_of:11,rather:[4,7,16,19],ratio:4,reach:[7,13,15,16],read:[0,1,7,15,19,20],readabl:8,real:19,realiz:[9,13,19],realli:[8,11],rearrang:[2,6,16],reason:[4,7,11],rebuild:20,rec1:[2,3,6],rec2:[2,3,6],recogn:22,record:[4,5],recur:[16,17],recurs:[2,3,4,6,10,13,14,15,17,21,24],recusr:19,redefin:21,redistribut:[3,4],reduc:[2,6],redund:[4,24],reexamin:19,refactor:[4,7,16,21],refer:[0,2,6],refin:17,regist:[2,6],regular:22,rel:[13,18],relev:11,rem:[4,21],remain:[2,3,4,6],remaind:[3,4,21],remind:16,remov:[3,4,11,19,21],renam:19,render:[19,21],repeat:[7,9,11],repeatedli:7,repl:[0,1],replac:[2,3,4,6,15,16,17,20,21,24],repositori:0,repres:[2,4,6,19,22],represent:4,reprod:15,request:11,requir:[4,11,24],rescu:21,resembl:4,reset:21,respect:7,rest:[3,4,7,10,14,15,19,20,21,24],restor:[2,6],result:[1,2,3,5,6,7,10,15,16,18,19,20],resum:4,retir:[2,6],retri:4,reus:19,revers:[3,4,7,9,10,15,16,20,21],rewrit:[4,13],rewritten:4,richard:19,right:[4,5,11,15,16,21,24],rightmost:7,rkei:19,role:19,roll:[3,4,10,12,13,16,18,19,21],rolldown:[3,4,21],rollup:[3,4,21],root:[3,11,17],rotate_seq:9,round:9,row:[10,11],row_valu:11,rshift:[4,21],run:[0,1,3,4,7,11,16,19,20,21],runtim:[4,11],sai:19,same:[2,4,6,7,16,19,24],sandwich:[2,3,6],save:[2,4,6,7],scan:3,scanner:[4,22],scenario:20,scheme:19,scope:[9,19],script:[],search:[0,11,19],second:[3,4,9,10,16,19,21,24],secur:12,see:[0,4,8,11,15,16,19,20],seem:[0,4,7,14,19],seen:20,select:[3,4,11,21],semant:[2,3,4,6,19],semi:4,send:4,sens:[0,2,6,7,20],separ:[4,5],sequenc:[0,1,2,3,6,7,8,9,10,12,13,14,19,20,21,22],seri:[7,11,15,16,19,20],serv:16,set:[2,3,6,16,19],seven:[7,15],sever:[0,4],shadow:8,share:[3,4,11],shelf:[2,6],shift:[7,15],shine:13,shortest:11,should:[2,4,6,7,10,16,17,19],shouldn:4,show:[11,19,20],shunt:[3,4,20,21],side:19,sign:11,signal:10,signifi:[4,5,19],silli:19,similar:19,simon:4,simpl:[4,11,16,21,24],simplefunctionwrapp:[3,8,13,14,18],simplest:21,simplifi:[7,11,19,20,21],sinc:[2,6,7,11,18,19],singl:[3,4,8,15,22],situ:19,situat:19,six:[4,7,15],sixti:[7,15],size:[4,9,12,13,14,21],skeptic:4,skip:[11,13],slight:21,slightli:[16,19],small:[9,19],smallest:[3,10],smart:[13,16],sneaki:11,softwar:4,solei:[2,6],solut:[7,11],solv:11,solvabl:4,some:[0,2,3,4,10,11,13,15,16,19,24],somehow:19,someth:[2,6,9,13],sometim:19,somewher:[16,19],sophist:11,sort:[3,4,10,16,19],sort_:3,sourc:[0,1,3,22,23,24],space:[7,11],span:7,spec:[],special:[15,16,19],specif:0,speed:[8,11,13],sphinx:[],spiral:11,spirit:[0,1,19],split_at:9,spreadsheet:10,sqr:[4,17,18,20,21],sqrt:[3,4,11,18,21],squar:[3,4,11,17,22],stack:[0,1,3,5,7,8,10,13,14,15,16,17,18,19,20,21,23],stack_:3,stack_to_str:[4,5,24],stage:19,stai:[0,1],standard:4,star:19,stare:19,start:[4,7,10,11,13,14,15,16,17,19],state:[4,10,13],step:[3,4,5,7,8,9,10,11,12,18,19,20,21],step_zero:[9,10,12],still:[11,13,16],stop:19,storag:[7,16,19],store:[7,11,16],stori:16,str:22,straightforward:[1,9,11,15,21],strang:13,stream:7,string:[1,2,3,4,6,9,20,22,24],strip:11,structur:[4,16,20,21,24],stuff:19,style:0,sub:[4,21],subject:20,subract:11,substitut:[11,16],subtract:[7,10,11],succ:[3,4,21],suffici:[13,16],suggest:[10,19],suitabl:[3,7],sum:[3,4,9,10,15,16,19,21],sum_:[3,8],summand:7,suppli:[4,16,19,22],support:[4,11,23],sure:[11,16],suspect:[2,6],swaack:[3,4,8,16,18,19,20,21],swap:[3,4,7,8,9,10,11,12,14,15,16,19,20,21],swon:[3,4,14,15,16,19,20,21],swoncat:[4,13,14,15,16,19,21],symbol:[2,3,4,6,11,20,22],symmetr:7,sympi:21,syntact:4,syntax:[4,24],sys:11,system:[4,11,12,19],tail:[4,10,19,21,24],take:[3,4,7,9,11,13,15,18,19,21,24],taken:13,talk:[4,19,24],target:[11,20],task:11,tbd:[],technic:[2,6],techniqu:20,technolog:[2,6],teh:19,temporari:20,ten:7,term:[1,2,4,6,7,10,13,14,16,21,22,24],termin:[2,3,6,10],ternari:[4,21],test:[2,3,6],text:[0,1,3,4,5],text_to_express:[4,22],textual:4,than:[0,3,4,7,11,12,15,18,19],thei:[2,4,6,8,10,11,15,16,19,20,21,22,24],them:[2,3,4,6,7,8,10,11,15,16,19,20],theori:[2,3,6],therefor:[15,19],thi:[0,1,2,3,4,6,7,8,9,10,11,13,14,15,16,17,20,21,22,23,24],thing:[2,4,6,10,11,13,15,16,19,20,22,24],think:[2,4,6,7,13,16,19],third:[3,4,9,10,15,19,21],thirti:7,those:[2,3,6,10,11,13,16,19],though:[7,15,19],thought:4,thousand:7,thread:[2,6],three:[2,3,4,6,7,13,19,21],through:[1,4,7,20,24],thu:9,thun:[2,3,6],thunder:4,tied:19,tile:11,time:[3,4,7,11,13,14,16,19,20,21],tini:19,tkinter:[],to_set:19,todai:4,todo:[21,22],togeth:[4,15],tok:4,token:[4,22],tommi:19,too:[16,19],took:11,tool:4,top:[2,3,4,6,24],total:[7,9,11],total_match:9,trace:[0,4,5,18,20,21],traceprint:[5,23],track:20,tracker:0,trade:11,transform:16,translat:[11,16],travers:[20,21],treasur:0,treat:[2,3,6,21],treatment:15,tree:[4,21],treemap:16,treestep:[19,21],tri:7,triangular:21,trick:[7,19],tricki:[11,13,21],trivial:[10,13,19],trobe:0,trove:0,truediv:[4,18,21],truthi:[3,4,21],ts0:[16,19],ts1:[16,19],tuck:[3,4,5,10,17,19,21],tupl:[3,4,24],turn:[2,3,6,11],twice:[11,16,19],two:[2,3,4,5,6,7,10,11,16,17,19,20,21,24],type:[4,16,22],typic:[2,3,6],unari:[4,13,16,17,21],unarybuiltinwrapp:3,unbalanc:[4,22],unclos:4,uncon:[3,4,9,10,15,16,19,20,21],under:[2,3,4,6,13],understand:[0,11,19],undocu:4,unfinish:21,uniqu:[3,12,19],unit:[4,9,16,19,21],univers:[0,4],unless:[11,16],unlik:16,unnecessari:21,unpack:[2,3,4,6,24],unpair:7,unquot:[4,16,19,21],unstack:[3,4,21],untangl:[15,16],until:[10,11,13,15],unus:7,unusu:19,upward:13,usag:4,use:[0,2,3,4,6,7,8,11,13,15,18,19,20,24],used:[3,4,16,19,20,22,24],useful:[0,17],user:11,uses:[2,6,7,10,16],using:[3,10,11,15,16,19,20],usual:[0,2,6],util:[0,4,5,8,13,14,19],valid:12,valu:[2,3,4,6,7,8,10,11,16,17,21,24],value_n:19,vanilla:13,variabl:[16,21],variat:16,varient:19,varieti:4,variou:0,vener:[4,24],veri:[0,1,4,11,19,24],versa:[2,4,6],version:[0,1,2,6,15,20,21],via:4,vice:[2,6],viewer:[1,4,21,23],vise:4,von:[0,2,3,6],wai:[0,2,3,4,6,7,9,11,13,16,17,19],walk:19,wall:11,want:[2,6,7,11,13,15,17,19],warranti:[3,4],wash:4,wast:4,websit:0,welcom:4,well:[0,4,9,10,11,19,22],were:[4,11,13,16,20],what:[2,3,4,5,6,10,13,14,16,18,19,23],whatev:[2,3,4,6,15,19],when:[4,7,15,16,19,20,22,24],where:[2,3,4,6,9,10,13,16,19,24],whether:16,which:[0,1,3,4,7,10,11,13,16,19,20,24],who:[],whole:[2,3,6,7,10,19],whose:15,why:[11,17,19],wiki:[4,19],wikipedia:[0,4,19,20],wildli:4,wind:4,winner:11,wire:16,wit:13,within:[4,17,19],without:[2,6,19],won:19,word:[0,3,4,7,9,10,12,15,19,20,21],work:[0,4,7,9,10,11,13,15,16,19,20],worth:[7,11],would:[2,4,6,7,10,11,12,13,14,15,16,19,20,24],wouldn:13,wow:19,wrap:[3,11],write:[4,9,11,13,15,16,19,20,21],written:[0,1,8,13,24],wrong:[2,6],wtf:16,wtfmorphism:16,x80:[],xa2:[],xe2:[],xor:[4,21],year:4,yet:[4,13,16,19,20],yield:[2,3,4,6],you:[0,2,3,4,6,7,8,10,11,13,15,16,19,20],your:[2,3,4,6,9,10,11,12],yourself:[4,19],zero:[3,10,11,13,16,19,21,22,24],zip:[4,7,9,21],zip_:3,zipper:21,zstr:20},titles:["Thun 0.1.1 Documentation","Joy Interpreter","Functions Grouped by, er, Function with Examples","Function Reference","Joypy","Preamble","Examples (and some documentation) for the Words in the Library","Project Euler, first problem: \u201cMultiples of 3 and 5\u201d","Preamble","Advent of Code 2017","Advent of Code 2017","Advent of Code 2017","Advent of Code 2017","Advent of Code 2017","Advent of Code 2017","Using <code class=\"docutils literal notranslate\"><span class=\"pre\">x</span></code> to Generate Values","Hylomorphism","Newton\u2019s method","Quadratic formula","Treating Trees","Preamble","There are also some Jupyter notebooks.","Parsing Text into Joy Expressions","Tracing Joy Execution","Stack or Quote or Sequence or List\u2026"],titleterms:{"1st":9,"2nd":10,"3rd":11,"4th":12,"5th":13,"6th":14,"case":19,"final":10,"function":[2,3,4,14,16,18,19],"long":8,"void":[2,6],"while":[2,6],Adding:19,One:15,The:[4,7,16],There:21,Using:15,With:5,_print:[],abov:16,add:[2,6,13],address:20,advent:[9,10,11,12,13,14],aka:4,all:[11,13],also:21,ana:16,analysi:[7,11],anamorph:[2,6,16],app1:[2,6],app2:[2,6],app3:[2,6],appendix:16,automat:19,averag:[2,6],base:19,befor:14,better:16,binari:[2,6],block:10,branch:[2,6],breakdown:13,btree:19,cata:16,catamorph:16,chatter:[2,6],check:18,choic:[2,6],clear:[2,6],cleav:[2,6],cmp:19,code:[9,10,11,12,13,14],codicil:18,combin:[2,6,16,19],comparison:[2,6],compil:[8,15],con:[2,6,19],concat:[2,6],continu:4,count:[13,14],crap:19,current:19,data:19,decemb:[9,10,11,12,13,14],defin:18,definit:18,delet:19,deriv:[16,18,19],determin:20,dialect:0,dip:[2,6,20],dipd:[2,6],dipdd:[2,6],direco:15,disenstacken:[2,6],div:[2,6],document:[0,6],doe:19,down:10,down_to_zero:[2,6],drive:14,drop:[2,6],dup:[2,6],dupd:[2,6],dupdip:[2,6],enstacken:[2,6],etc:4,euler:[7,15],eval:4,even:15,exampl:[2,6],execut:23,express:22,extract:16,factor:[16,19],factori:16,fibonacci:15,find:[11,16],first:[2,6,7],five:15,flatten:[2,6],floordiv:[2,6],form:[16,19],formula:18,four:16,from:16,ftw:9,fun:16,further:7,fusion:16,gcd:[2,6],gener:[7,14,15,16,19],genrec:[2,6],get:[13,19],getitem:[2,6],given:16,gotten:13,group:2,help:[2,6],here:7,host:0,how:[14,15],hylo:16,hylomorph:16,ift:[2,6],increment:13,index:13,indic:0,inform:0,infra:[2,6,20],intern:22,interpret:[1,4],item:20,iter:[7,19],joi:[0,1,3,4,11,16,20,22,23,24],joypi:4,jupyt:21,just:19,kei:19,languag:0,law:16,least_fract:[2,6],left:19,librari:[3,4,6],list:[2,4,6,16,19,24],littl:7,logic:[2,6],loop:[2,4,6,10],lshift:[2,6],make:19,mani:14,map:[2,6],math:[2,6],method:17,min:[2,6],miscellan:[2,6,19],mod:[2,6],modif:19,modul:[],modulu:[2,6],mul:[2,6],multipl:[7,15],name:[18,19],nativ:18,neg:[2,6],newton:17,node:[16,19],notebook:21,now:13,nullari:[2,6],number:[11,16],offset:11,order:19,osdn:0,our:19,out:10,over:[2,6],pam:[2,6],paper:10,para:16,paramet:19,parameter:[16,19],paramorph:16,pars:[2,6,22],parser:[4,22],pass:4,path:20,pattern:16,per:19,piec:10,pop:[2,6],popd:[2,6],popop:[2,6],pow:[2,6],power:15,preambl:[5,8,13,16,20],pred:[2,6],predic:13,pretti:[],pretty_print:23,primrec:[2,6],print:4,problem:[7,15],process:19,product:[2,6],program:[5,7,14,16,18],project:[0,7,15],put:[11,19],pypi:[],python:4,quadrat:18,quick:0,quot:[2,4,6,24],rang:[2,6],range_to_zero:[2,6],rank:11,read:4,recal:14,recur:19,recurs:[16,19],redefin:19,refactor:[9,19],refer:3,rem:[2,6],remaind:[2,6],remov:[2,6],render:7,repeat:14,repl:4,replac:8,rescu:11,reset:15,rest:[2,6,16],revers:[2,6],right:[19,20],roll:[2,6],rolldown:[2,6],rollup:[2,6],rshift:[2,6],run:[2,5,6,15],sat:10,second:[2,6],select:[2,6],sequenc:[4,15,24],set:13,shunt:[2,6],simpl:5,simplest:7,simplifi:18,size:[2,6,8],slight:19,some:[5,6,21],sqr:[2,6],sqrt:[2,6],stack:[2,4,6,24],start:0,state:14,step:[2,6,13,16],straightforward:18,structur:19,style:4,sub:[2,6],succ:[2,6],sum:[2,6,7,8],swaack:[2,6],swap:[2,6],swon:[2,6],swoncat:[2,6],symbol:16,sympi:11,tabl:0,tail:16,take:[2,6],term:[15,19],ternari:[2,6],text:22,than:16,thei:7,thi:19,think:10,third:[2,6],three:15,thun:0,time:[2,6,15],todo:19,togeth:[11,13,19],trace:[8,23],traceprint:4,travers:19,treat:19,tree:[16,19,20],treestep:16,triangular:16,tricki:10,truediv:[2,6],truthi:[2,6],tuck:[2,6],two:15,type:19,unari:[2,6],uncon:[2,6],unfinish:16,unit:[2,6],unnecessari:7,unquot:[2,6],unstack:[2,6],use:16,usual:16,util:[23,24],valu:[13,15,19],variabl:18,version:[7,8,11,19],view:4,viewer:5,want:10,word:[2,6],write:18,xor:[2,6],zero:15,zip:[2,6],zipper:20}})