Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@f0rr0/church-encoding

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@f0rr0/church-encoding - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

.releaserc

6

coverage/coverage-final.json
{"/Users/sid/Dev/church-encoding/lib/boolean.js": {"path":"/Users/sid/Dev/church-encoding/lib/boolean.js","statementMap":{"0":{"start":{"line":1,"column":17},"end":{"line":1,"column":34}},"1":{"start":{"line":1,"column":30},"end":{"line":1,"column":34}},"2":{"start":{"line":2,"column":17},"end":{"line":2,"column":36}},"3":{"start":{"line":2,"column":31},"end":{"line":2,"column":36}},"4":{"start":{"line":3,"column":18},"end":{"line":3,"column":68}},"5":{"start":{"line":3,"column":46},"end":{"line":3,"column":68}},"6":{"start":{"line":4,"column":19},"end":{"line":4,"column":50}},"7":{"start":{"line":4,"column":29},"end":{"line":4,"column":50}},"8":{"start":{"line":5,"column":18},"end":{"line":5,"column":49}},"9":{"start":{"line":5,"column":28},"end":{"line":5,"column":49}},"10":{"start":{"line":6,"column":19},"end":{"line":6,"column":35}},"11":{"start":{"line":6,"column":24},"end":{"line":6,"column":35}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}},"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":34}},"line":1},"1":{"name":"(anonymous_1)","decl":{"start":{"line":2,"column":17},"end":{"line":2,"column":18}},"loc":{"start":{"line":2,"column":31},"end":{"line":2,"column":36}},"line":2},"2":{"name":"(anonymous_2)","decl":{"start":{"line":3,"column":18},"end":{"line":3,"column":19}},"loc":{"start":{"line":3,"column":46},"end":{"line":3,"column":68}},"line":3},"3":{"name":"(anonymous_3)","decl":{"start":{"line":4,"column":19},"end":{"line":4,"column":20}},"loc":{"start":{"line":4,"column":29},"end":{"line":4,"column":50}},"line":4},"4":{"name":"(anonymous_4)","decl":{"start":{"line":5,"column":18},"end":{"line":5,"column":19}},"loc":{"start":{"line":5,"column":28},"end":{"line":5,"column":49}},"line":5},"5":{"name":"(anonymous_5)","decl":{"start":{"line":6,"column":19},"end":{"line":6,"column":20}},"loc":{"start":{"line":6,"column":24},"end":{"line":6,"column":35}},"line":6}},"branchMap":{},"s":{"0":1,"1":123,"2":1,"3":153,"4":1,"5":272,"6":1,"7":16,"8":1,"9":12,"10":1,"11":30},"f":{"0":123,"1":153,"2":272,"3":16,"4":12,"5":30},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0bc319226d3878c6610d1845dff2fc92c88260c1"}
,"/Users/sid/Dev/church-encoding/lib/decode.js": {"path":"/Users/sid/Dev/church-encoding/lib/decode.js","statementMap":{"0":{"start":{"line":6,"column":26},"end":{"line":6,"column":51}},"1":{"start":{"line":6,"column":34},"end":{"line":6,"column":51}},"2":{"start":{"line":7,"column":26},"end":{"line":8,"column":82}},"3":{"start":{"line":8,"column":2},"end":{"line":8,"column":82}},"4":{"start":{"line":8,"column":26},"end":{"line":8,"column":28}},"5":{"start":{"line":8,"column":36},"end":{"line":8,"column":79}},"6":{"start":{"line":9,"column":31},"end":{"line":10,"column":71}},"7":{"start":{"line":10,"column":2},"end":{"line":10,"column":71}},"8":{"start":{"line":10,"column":27},"end":{"line":10,"column":28}},"9":{"start":{"line":10,"column":36},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":29},"end":{"line":11,"column":94}},"11":{"start":{"line":11,"column":36},"end":{"line":11,"column":94}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":26},"end":{"line":6,"column":27}},"loc":{"start":{"line":6,"column":34},"end":{"line":6,"column":51}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":7,"column":26},"end":{"line":7,"column":27}},"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":82}},"line":8},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":20},"end":{"line":8,"column":21}},"loc":{"start":{"line":8,"column":26},"end":{"line":8,"column":28}},"line":8},"3":{"name":"(anonymous_3)","decl":{"start":{"line":8,"column":30},"end":{"line":8,"column":31}},"loc":{"start":{"line":8,"column":36},"end":{"line":8,"column":79}},"line":8},"4":{"name":"(anonymous_4)","decl":{"start":{"line":9,"column":31},"end":{"line":9,"column":32}},"loc":{"start":{"line":10,"column":2},"end":{"line":10,"column":71}},"line":10},"5":{"name":"(anonymous_5)","decl":{"start":{"line":10,"column":21},"end":{"line":10,"column":22}},"loc":{"start":{"line":10,"column":27},"end":{"line":10,"column":28}},"line":10},"6":{"name":"(anonymous_6)","decl":{"start":{"line":10,"column":30},"end":{"line":10,"column":31}},"loc":{"start":{"line":10,"column":36},"end":{"line":10,"column":68}},"line":10},"7":{"name":"(anonymous_7)","decl":{"start":{"line":11,"column":29},"end":{"line":11,"column":30}},"loc":{"start":{"line":11,"column":36},"end":{"line":11,"column":94}},"line":11}},"branchMap":{},"s":{"0":1,"1":2,"2":1,"3":17,"4":6,"5":11,"6":1,"7":44,"8":18,"9":26,"10":1,"11":9},"f":{"0":2,"1":17,"2":6,"3":11,"4":44,"5":18,"6":26,"7":9},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"087395ecf2cf4bcc08589c8e066d5320acba0f70"}
,"/Users/sid/Dev/church-encoding/lib/integer.js": {"path":"/Users/sid/Dev/church-encoding/lib/integer.js","statementMap":{"0":{"start":{"line":4,"column":20},"end":{"line":4,"column":56}},"1":{"start":{"line":4,"column":30},"end":{"line":4,"column":56}},"2":{"start":{"line":4,"column":42},"end":{"line":4,"column":56}},"3":{"start":{"line":5,"column":21},"end":{"line":5,"column":46}},"4":{"start":{"line":5,"column":29},"end":{"line":5,"column":46}},"5":{"start":{"line":5,"column":44},"end":{"line":5,"column":45}},"6":{"start":{"line":6,"column":22},"end":{"line":6,"column":47}},"7":{"start":{"line":6,"column":30},"end":{"line":6,"column":47}},"8":{"start":{"line":6,"column":45},"end":{"line":6,"column":46}},"9":{"start":{"line":7,"column":20},"end":{"line":7,"column":42}},"10":{"start":{"line":8,"column":22},"end":{"line":8,"column":64}},"11":{"start":{"line":8,"column":29},"end":{"line":8,"column":64}},"12":{"start":{"line":9,"column":19},"end":{"line":14,"column":5}},"13":{"start":{"line":10,"column":2},"end":{"line":14,"column":5}},"14":{"start":{"line":12,"column":10},"end":{"line":12,"column":47}},"15":{"start":{"line":13,"column":10},"end":{"line":13,"column":47}},"16":{"start":{"line":15,"column":19},"end":{"line":20,"column":5}},"17":{"start":{"line":16,"column":2},"end":{"line":20,"column":5}},"18":{"start":{"line":18,"column":10},"end":{"line":18,"column":47}},"19":{"start":{"line":19,"column":10},"end":{"line":19,"column":47}},"20":{"start":{"line":21,"column":22},"end":{"line":21,"column":58}},"21":{"start":{"line":21,"column":29},"end":{"line":21,"column":58}},"22":{"start":{"line":22,"column":19},"end":{"line":22,"column":91}},"23":{"start":{"line":22,"column":29},"end":{"line":22,"column":91}},"24":{"start":{"line":23,"column":19},"end":{"line":23,"column":46}},"25":{"start":{"line":23,"column":29},"end":{"line":23,"column":46}},"26":{"start":{"line":24,"column":23},"end":{"line":24,"column":50}},"27":{"start":{"line":24,"column":33},"end":{"line":24,"column":50}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":20},"end":{"line":4,"column":21}},"loc":{"start":{"line":4,"column":30},"end":{"line":4,"column":56}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":30},"end":{"line":4,"column":31}},"loc":{"start":{"line":4,"column":42},"end":{"line":4,"column":56}},"line":4},"2":{"name":"(anonymous_2)","decl":{"start":{"line":5,"column":21},"end":{"line":5,"column":22}},"loc":{"start":{"line":5,"column":29},"end":{"line":5,"column":46}},"line":5},"3":{"name":"(anonymous_3)","decl":{"start":{"line":5,"column":34},"end":{"line":5,"column":35}},"loc":{"start":{"line":5,"column":44},"end":{"line":5,"column":45}},"line":5},"4":{"name":"(anonymous_4)","decl":{"start":{"line":6,"column":22},"end":{"line":6,"column":23}},"loc":{"start":{"line":6,"column":30},"end":{"line":6,"column":47}},"line":6},"5":{"name":"(anonymous_5)","decl":{"start":{"line":6,"column":35},"end":{"line":6,"column":36}},"loc":{"start":{"line":6,"column":45},"end":{"line":6,"column":46}},"line":6},"6":{"name":"(anonymous_6)","decl":{"start":{"line":8,"column":22},"end":{"line":8,"column":23}},"loc":{"start":{"line":8,"column":29},"end":{"line":8,"column":64}},"line":8},"7":{"name":"(anonymous_7)","decl":{"start":{"line":9,"column":19},"end":{"line":9,"column":20}},"loc":{"start":{"line":10,"column":2},"end":{"line":14,"column":5}},"line":10},"8":{"name":"(anonymous_8)","decl":{"start":{"line":12,"column":4},"end":{"line":12,"column":5}},"loc":{"start":{"line":12,"column":10},"end":{"line":12,"column":47}},"line":12},"9":{"name":"(anonymous_9)","decl":{"start":{"line":13,"column":4},"end":{"line":13,"column":5}},"loc":{"start":{"line":13,"column":10},"end":{"line":13,"column":47}},"line":13},"10":{"name":"(anonymous_10)","decl":{"start":{"line":15,"column":19},"end":{"line":15,"column":20}},"loc":{"start":{"line":16,"column":2},"end":{"line":20,"column":5}},"line":16},"11":{"name":"(anonymous_11)","decl":{"start":{"line":18,"column":4},"end":{"line":18,"column":5}},"loc":{"start":{"line":18,"column":10},"end":{"line":18,"column":47}},"line":18},"12":{"name":"(anonymous_12)","decl":{"start":{"line":19,"column":4},"end":{"line":19,"column":5}},"loc":{"start":{"line":19,"column":10},"end":{"line":19,"column":47}},"line":19},"13":{"name":"(anonymous_13)","decl":{"start":{"line":21,"column":22},"end":{"line":21,"column":23}},"loc":{"start":{"line":21,"column":29},"end":{"line":21,"column":58}},"line":21},"14":{"name":"(anonymous_14)","decl":{"start":{"line":22,"column":19},"end":{"line":22,"column":20}},"loc":{"start":{"line":22,"column":29},"end":{"line":22,"column":91}},"line":22},"15":{"name":"(anonymous_15)","decl":{"start":{"line":23,"column":19},"end":{"line":23,"column":20}},"loc":{"start":{"line":23,"column":29},"end":{"line":23,"column":46}},"line":23},"16":{"name":"(anonymous_16)","decl":{"start":{"line":24,"column":23},"end":{"line":24,"column":24}},"loc":{"start":{"line":24,"column":33},"end":{"line":24,"column":50}},"line":24}},"branchMap":{},"s":{"0":1,"1":47,"2":172,"3":1,"4":75,"5":75,"6":1,"7":97,"8":97,"9":1,"10":1,"11":8,"12":1,"13":27,"14":0,"15":27,"16":1,"17":5,"18":3,"19":2,"20":1,"21":7,"22":1,"23":7,"24":1,"25":5,"26":1,"27":2},"f":{"0":47,"1":172,"2":75,"3":75,"4":97,"5":97,"6":8,"7":27,"8":0,"9":27,"10":5,"11":3,"12":2,"13":7,"14":7,"15":5,"16":2},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"dd2d9a0fb20c96ab8d79a0e629e875a0aac1f274"}
,"/Users/sid/Dev/church-encoding/lib/decode.js": {"path":"/Users/sid/Dev/church-encoding/lib/decode.js","statementMap":{"0":{"start":{"line":6,"column":26},"end":{"line":6,"column":51}},"1":{"start":{"line":6,"column":34},"end":{"line":6,"column":51}},"2":{"start":{"line":7,"column":26},"end":{"line":8,"column":82}},"3":{"start":{"line":8,"column":2},"end":{"line":8,"column":82}},"4":{"start":{"line":8,"column":26},"end":{"line":8,"column":28}},"5":{"start":{"line":8,"column":36},"end":{"line":8,"column":79}},"6":{"start":{"line":9,"column":25},"end":{"line":9,"column":95}},"7":{"start":{"line":9,"column":32},"end":{"line":9,"column":95}},"8":{"start":{"line":9,"column":57},"end":{"line":9,"column":58}},"9":{"start":{"line":9,"column":66},"end":{"line":9,"column":92}},"10":{"start":{"line":10,"column":29},"end":{"line":10,"column":82}},"11":{"start":{"line":10,"column":36},"end":{"line":10,"column":82}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":26},"end":{"line":6,"column":27}},"loc":{"start":{"line":6,"column":34},"end":{"line":6,"column":51}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":7,"column":26},"end":{"line":7,"column":27}},"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":82}},"line":8},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":20},"end":{"line":8,"column":21}},"loc":{"start":{"line":8,"column":26},"end":{"line":8,"column":28}},"line":8},"3":{"name":"(anonymous_3)","decl":{"start":{"line":8,"column":30},"end":{"line":8,"column":31}},"loc":{"start":{"line":8,"column":36},"end":{"line":8,"column":79}},"line":8},"4":{"name":"(anonymous_4)","decl":{"start":{"line":9,"column":25},"end":{"line":9,"column":26}},"loc":{"start":{"line":9,"column":32},"end":{"line":9,"column":95}},"line":9},"5":{"name":"(anonymous_5)","decl":{"start":{"line":9,"column":51},"end":{"line":9,"column":52}},"loc":{"start":{"line":9,"column":57},"end":{"line":9,"column":58}},"line":9},"6":{"name":"(anonymous_6)","decl":{"start":{"line":9,"column":60},"end":{"line":9,"column":61}},"loc":{"start":{"line":9,"column":66},"end":{"line":9,"column":92}},"line":9},"7":{"name":"(anonymous_7)","decl":{"start":{"line":10,"column":29},"end":{"line":10,"column":30}},"loc":{"start":{"line":10,"column":36},"end":{"line":10,"column":82}},"line":10}},"branchMap":{},"s":{"0":1,"1":2,"2":1,"3":17,"4":6,"5":11,"6":1,"7":44,"8":18,"9":26,"10":1,"11":9},"f":{"0":2,"1":17,"2":6,"3":11,"4":44,"5":18,"6":26,"7":9},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ce7904233ebaddcee2fd0ceafbd0f75add149f4b"}
,"/Users/sid/Dev/church-encoding/lib/integer.js": {"path":"/Users/sid/Dev/church-encoding/lib/integer.js","statementMap":{"0":{"start":{"line":14,"column":20},"end":{"line":14,"column":56}},"1":{"start":{"line":14,"column":30},"end":{"line":14,"column":56}},"2":{"start":{"line":14,"column":42},"end":{"line":14,"column":56}},"3":{"start":{"line":15,"column":21},"end":{"line":15,"column":46}},"4":{"start":{"line":15,"column":29},"end":{"line":15,"column":46}},"5":{"start":{"line":15,"column":44},"end":{"line":15,"column":45}},"6":{"start":{"line":16,"column":22},"end":{"line":16,"column":47}},"7":{"start":{"line":16,"column":30},"end":{"line":16,"column":47}},"8":{"start":{"line":16,"column":45},"end":{"line":16,"column":46}},"9":{"start":{"line":17,"column":20},"end":{"line":17,"column":42}},"10":{"start":{"line":18,"column":22},"end":{"line":18,"column":64}},"11":{"start":{"line":18,"column":29},"end":{"line":18,"column":64}},"12":{"start":{"line":19,"column":19},"end":{"line":24,"column":5}},"13":{"start":{"line":20,"column":2},"end":{"line":24,"column":5}},"14":{"start":{"line":22,"column":10},"end":{"line":22,"column":47}},"15":{"start":{"line":23,"column":10},"end":{"line":23,"column":47}},"16":{"start":{"line":25,"column":19},"end":{"line":30,"column":5}},"17":{"start":{"line":26,"column":2},"end":{"line":30,"column":5}},"18":{"start":{"line":28,"column":10},"end":{"line":28,"column":47}},"19":{"start":{"line":29,"column":10},"end":{"line":29,"column":47}},"20":{"start":{"line":31,"column":25},"end":{"line":41,"column":5}},"21":{"start":{"line":32,"column":2},"end":{"line":41,"column":5}},"22":{"start":{"line":34,"column":10},"end":{"line":34,"column":14}},"23":{"start":{"line":36,"column":6},"end":{"line":40,"column":9}},"24":{"start":{"line":38,"column":14},"end":{"line":38,"column":17}},"25":{"start":{"line":39,"column":14},"end":{"line":39,"column":70}},"26":{"start":{"line":42,"column":19},"end":{"line":43,"column":99}},"27":{"start":{"line":43,"column":2},"end":{"line":43,"column":99}},"28":{"start":{"line":43,"column":45},"end":{"line":43,"column":67}},"29":{"start":{"line":43,"column":75},"end":{"line":43,"column":96}},"30":{"start":{"line":44,"column":22},"end":{"line":44,"column":58}},"31":{"start":{"line":44,"column":29},"end":{"line":44,"column":58}},"32":{"start":{"line":45,"column":19},"end":{"line":45,"column":91}},"33":{"start":{"line":45,"column":29},"end":{"line":45,"column":91}},"34":{"start":{"line":46,"column":19},"end":{"line":46,"column":46}},"35":{"start":{"line":46,"column":29},"end":{"line":46,"column":46}},"36":{"start":{"line":47,"column":23},"end":{"line":47,"column":50}},"37":{"start":{"line":47,"column":33},"end":{"line":47,"column":50}},"38":{"start":{"line":48,"column":19},"end":{"line":52,"column":3}},"39":{"start":{"line":49,"column":2},"end":{"line":52,"column":3}},"40":{"start":{"line":53,"column":19},"end":{"line":58,"column":5}},"41":{"start":{"line":54,"column":2},"end":{"line":58,"column":5}},"42":{"start":{"line":56,"column":10},"end":{"line":56,"column":46}},"43":{"start":{"line":57,"column":10},"end":{"line":57,"column":46}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":14,"column":20},"end":{"line":14,"column":21}},"loc":{"start":{"line":14,"column":30},"end":{"line":14,"column":56}},"line":14},"1":{"name":"(anonymous_1)","decl":{"start":{"line":14,"column":30},"end":{"line":14,"column":31}},"loc":{"start":{"line":14,"column":42},"end":{"line":14,"column":56}},"line":14},"2":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":21},"end":{"line":15,"column":22}},"loc":{"start":{"line":15,"column":29},"end":{"line":15,"column":46}},"line":15},"3":{"name":"(anonymous_3)","decl":{"start":{"line":15,"column":34},"end":{"line":15,"column":35}},"loc":{"start":{"line":15,"column":44},"end":{"line":15,"column":45}},"line":15},"4":{"name":"(anonymous_4)","decl":{"start":{"line":16,"column":22},"end":{"line":16,"column":23}},"loc":{"start":{"line":16,"column":30},"end":{"line":16,"column":47}},"line":16},"5":{"name":"(anonymous_5)","decl":{"start":{"line":16,"column":35},"end":{"line":16,"column":36}},"loc":{"start":{"line":16,"column":45},"end":{"line":16,"column":46}},"line":16},"6":{"name":"(anonymous_6)","decl":{"start":{"line":18,"column":22},"end":{"line":18,"column":23}},"loc":{"start":{"line":18,"column":29},"end":{"line":18,"column":64}},"line":18},"7":{"name":"(anonymous_7)","decl":{"start":{"line":19,"column":19},"end":{"line":19,"column":20}},"loc":{"start":{"line":20,"column":2},"end":{"line":24,"column":5}},"line":20},"8":{"name":"(anonymous_8)","decl":{"start":{"line":22,"column":4},"end":{"line":22,"column":5}},"loc":{"start":{"line":22,"column":10},"end":{"line":22,"column":47}},"line":22},"9":{"name":"(anonymous_9)","decl":{"start":{"line":23,"column":4},"end":{"line":23,"column":5}},"loc":{"start":{"line":23,"column":10},"end":{"line":23,"column":47}},"line":23},"10":{"name":"(anonymous_10)","decl":{"start":{"line":25,"column":19},"end":{"line":25,"column":20}},"loc":{"start":{"line":26,"column":2},"end":{"line":30,"column":5}},"line":26},"11":{"name":"(anonymous_11)","decl":{"start":{"line":28,"column":4},"end":{"line":28,"column":5}},"loc":{"start":{"line":28,"column":10},"end":{"line":28,"column":47}},"line":28},"12":{"name":"(anonymous_12)","decl":{"start":{"line":29,"column":4},"end":{"line":29,"column":5}},"loc":{"start":{"line":29,"column":10},"end":{"line":29,"column":47}},"line":29},"13":{"name":"(anonymous_13)","decl":{"start":{"line":31,"column":25},"end":{"line":31,"column":26}},"loc":{"start":{"line":32,"column":2},"end":{"line":41,"column":5}},"line":32},"14":{"name":"(anonymous_14)","decl":{"start":{"line":34,"column":4},"end":{"line":34,"column":5}},"loc":{"start":{"line":34,"column":10},"end":{"line":34,"column":14}},"line":34},"15":{"name":"(anonymous_15)","decl":{"start":{"line":35,"column":4},"end":{"line":35,"column":5}},"loc":{"start":{"line":36,"column":6},"end":{"line":40,"column":9}},"line":36},"16":{"name":"(anonymous_16)","decl":{"start":{"line":38,"column":8},"end":{"line":38,"column":9}},"loc":{"start":{"line":38,"column":14},"end":{"line":38,"column":17}},"line":38},"17":{"name":"(anonymous_17)","decl":{"start":{"line":39,"column":8},"end":{"line":39,"column":9}},"loc":{"start":{"line":39,"column":14},"end":{"line":39,"column":70}},"line":39},"18":{"name":"(anonymous_18)","decl":{"start":{"line":42,"column":19},"end":{"line":42,"column":20}},"loc":{"start":{"line":43,"column":2},"end":{"line":43,"column":99}},"line":43},"19":{"name":"(anonymous_19)","decl":{"start":{"line":43,"column":39},"end":{"line":43,"column":40}},"loc":{"start":{"line":43,"column":45},"end":{"line":43,"column":67}},"line":43},"20":{"name":"(anonymous_20)","decl":{"start":{"line":43,"column":69},"end":{"line":43,"column":70}},"loc":{"start":{"line":43,"column":75},"end":{"line":43,"column":96}},"line":43},"21":{"name":"(anonymous_21)","decl":{"start":{"line":44,"column":22},"end":{"line":44,"column":23}},"loc":{"start":{"line":44,"column":29},"end":{"line":44,"column":58}},"line":44},"22":{"name":"(anonymous_22)","decl":{"start":{"line":45,"column":19},"end":{"line":45,"column":20}},"loc":{"start":{"line":45,"column":29},"end":{"line":45,"column":91}},"line":45},"23":{"name":"(anonymous_23)","decl":{"start":{"line":46,"column":19},"end":{"line":46,"column":20}},"loc":{"start":{"line":46,"column":29},"end":{"line":46,"column":46}},"line":46},"24":{"name":"(anonymous_24)","decl":{"start":{"line":47,"column":23},"end":{"line":47,"column":24}},"loc":{"start":{"line":47,"column":33},"end":{"line":47,"column":50}},"line":47},"25":{"name":"(anonymous_25)","decl":{"start":{"line":48,"column":19},"end":{"line":48,"column":20}},"loc":{"start":{"line":49,"column":2},"end":{"line":52,"column":3}},"line":49},"26":{"name":"(anonymous_26)","decl":{"start":{"line":53,"column":19},"end":{"line":53,"column":20}},"loc":{"start":{"line":54,"column":2},"end":{"line":58,"column":5}},"line":54},"27":{"name":"(anonymous_27)","decl":{"start":{"line":56,"column":4},"end":{"line":56,"column":5}},"loc":{"start":{"line":56,"column":10},"end":{"line":56,"column":46}},"line":56},"28":{"name":"(anonymous_28)","decl":{"start":{"line":57,"column":4},"end":{"line":57,"column":5}},"loc":{"start":{"line":57,"column":10},"end":{"line":57,"column":46}},"line":57}},"branchMap":{},"s":{"0":1,"1":47,"2":172,"3":1,"4":75,"5":75,"6":1,"7":97,"8":97,"9":1,"10":1,"11":8,"12":1,"13":27,"14":0,"15":27,"16":1,"17":5,"18":3,"19":2,"20":1,"21":0,"22":0,"23":0,"24":0,"25":0,"26":1,"27":0,"28":0,"29":0,"30":1,"31":7,"32":1,"33":7,"34":1,"35":5,"36":1,"37":2,"38":1,"39":0,"40":1,"41":0,"42":0,"43":0},"f":{"0":47,"1":172,"2":75,"3":75,"4":97,"5":97,"6":8,"7":27,"8":0,"9":27,"10":5,"11":3,"12":2,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":7,"22":7,"23":5,"24":2,"25":0,"26":0,"27":0,"28":0},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f37e8f93d2b3c3a9b7a30ac993ccfa0e09c2162a"}
,"/Users/sid/Dev/church-encoding/lib/list-operations.js": {"path":"/Users/sid/Dev/church-encoding/lib/list-operations.js","statementMap":{"0":{"start":{"line":5,"column":19},"end":{"line":6,"column":85}},"1":{"start":{"line":6,"column":2},"end":{"line":6,"column":85}},"2":{"start":{"line":6,"column":26},"end":{"line":6,"column":35}},"3":{"start":{"line":6,"column":43},"end":{"line":6,"column":82}},"4":{"start":{"line":7,"column":22},"end":{"line":17,"column":5}},"5":{"start":{"line":8,"column":2},"end":{"line":17,"column":5}},"6":{"start":{"line":10,"column":10},"end":{"line":10,"column":19}},"7":{"start":{"line":12,"column":6},"end":{"line":16,"column":9}},"8":{"start":{"line":14,"column":14},"end":{"line":14,"column":53}},"9":{"start":{"line":15,"column":14},"end":{"line":15,"column":35}},"10":{"start":{"line":18,"column":19},"end":{"line":19,"column":74}},"11":{"start":{"line":19,"column":2},"end":{"line":19,"column":74}},"12":{"start":{"line":19,"column":26},"end":{"line":19,"column":36}},"13":{"start":{"line":19,"column":44},"end":{"line":19,"column":71}},"14":{"start":{"line":20,"column":22},"end":{"line":20,"column":92}},"15":{"start":{"line":20,"column":30},"end":{"line":20,"column":92}},"16":{"start":{"line":20,"column":54},"end":{"line":20,"column":58}},"17":{"start":{"line":20,"column":66},"end":{"line":20,"column":89}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":19},"end":{"line":5,"column":20}},"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":85}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":6,"column":20},"end":{"line":6,"column":21}},"loc":{"start":{"line":6,"column":26},"end":{"line":6,"column":35}},"line":6},"2":{"name":"(anonymous_2)","decl":{"start":{"line":6,"column":37},"end":{"line":6,"column":38}},"loc":{"start":{"line":6,"column":43},"end":{"line":6,"column":82}},"line":6},"3":{"name":"(anonymous_3)","decl":{"start":{"line":7,"column":22},"end":{"line":7,"column":23}},"loc":{"start":{"line":8,"column":2},"end":{"line":17,"column":5}},"line":8},"4":{"name":"(anonymous_4)","decl":{"start":{"line":10,"column":4},"end":{"line":10,"column":5}},"loc":{"start":{"line":10,"column":10},"end":{"line":10,"column":19}},"line":10},"5":{"name":"(anonymous_5)","decl":{"start":{"line":11,"column":4},"end":{"line":11,"column":5}},"loc":{"start":{"line":12,"column":6},"end":{"line":16,"column":9}},"line":12},"6":{"name":"(anonymous_6)","decl":{"start":{"line":14,"column":8},"end":{"line":14,"column":9}},"loc":{"start":{"line":14,"column":14},"end":{"line":14,"column":53}},"line":14},"7":{"name":"(anonymous_7)","decl":{"start":{"line":15,"column":8},"end":{"line":15,"column":9}},"loc":{"start":{"line":15,"column":14},"end":{"line":15,"column":35}},"line":15},"8":{"name":"(anonymous_8)","decl":{"start":{"line":18,"column":19},"end":{"line":18,"column":20}},"loc":{"start":{"line":19,"column":2},"end":{"line":19,"column":74}},"line":19},"9":{"name":"(anonymous_9)","decl":{"start":{"line":19,"column":20},"end":{"line":19,"column":21}},"loc":{"start":{"line":19,"column":26},"end":{"line":19,"column":36}},"line":19},"10":{"name":"(anonymous_10)","decl":{"start":{"line":19,"column":38},"end":{"line":19,"column":39}},"loc":{"start":{"line":19,"column":44},"end":{"line":19,"column":71}},"line":19},"11":{"name":"(anonymous_11)","decl":{"start":{"line":20,"column":22},"end":{"line":20,"column":23}},"loc":{"start":{"line":20,"column":30},"end":{"line":20,"column":92}},"line":20},"12":{"name":"(anonymous_12)","decl":{"start":{"line":20,"column":48},"end":{"line":20,"column":49}},"loc":{"start":{"line":20,"column":54},"end":{"line":20,"column":58}},"line":20},"13":{"name":"(anonymous_13)","decl":{"start":{"line":20,"column":60},"end":{"line":20,"column":61}},"loc":{"start":{"line":20,"column":66},"end":{"line":20,"column":89}},"line":20}},"branchMap":{},"s":{"0":1,"1":5,"2":2,"3":3,"4":1,"5":6,"6":2,"7":4,"8":3,"9":1,"10":1,"11":3,"12":2,"13":1,"14":1,"15":11,"16":3,"17":8},"f":{"0":5,"1":2,"2":3,"3":6,"4":2,"5":4,"6":3,"7":1,"8":3,"9":2,"10":1,"11":11,"12":3,"13":8},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"498242d7b8fa3bae874b3df107035c5cf79aaf2d"}
,"/Users/sid/Dev/church-encoding/lib/list.js": {"path":"/Users/sid/Dev/church-encoding/lib/list.js","statementMap":{"0":{"start":{"line":3,"column":25},"end":{"line":3,"column":70}},"1":{"start":{"line":3,"column":37},"end":{"line":3,"column":70}},"2":{"start":{"line":4,"column":20},"end":{"line":4,"column":67}},"3":{"start":{"line":4,"column":34},"end":{"line":4,"column":67}},"4":{"start":{"line":4,"column":46},"end":{"line":4,"column":67}},"5":{"start":{"line":5,"column":20},"end":{"line":5,"column":55}},"6":{"start":{"line":5,"column":28},"end":{"line":5,"column":55}},"7":{"start":{"line":5,"column":50},"end":{"line":5,"column":54}},"8":{"start":{"line":6,"column":20},"end":{"line":6,"column":55}},"9":{"start":{"line":6,"column":28},"end":{"line":6,"column":55}},"10":{"start":{"line":6,"column":50},"end":{"line":6,"column":54}},"11":{"start":{"line":7,"column":23},"end":{"line":7,"column":58}},"12":{"start":{"line":7,"column":31},"end":{"line":7,"column":58}},"13":{"start":{"line":7,"column":53},"end":{"line":7,"column":57}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":3,"column":25},"end":{"line":3,"column":26}},"loc":{"start":{"line":3,"column":37},"end":{"line":3,"column":70}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":20},"end":{"line":4,"column":21}},"loc":{"start":{"line":4,"column":34},"end":{"line":4,"column":67}},"line":4},"2":{"name":"(anonymous_2)","decl":{"start":{"line":4,"column":34},"end":{"line":4,"column":35}},"loc":{"start":{"line":4,"column":46},"end":{"line":4,"column":67}},"line":4},"3":{"name":"(anonymous_3)","decl":{"start":{"line":5,"column":20},"end":{"line":5,"column":21}},"loc":{"start":{"line":5,"column":28},"end":{"line":5,"column":55}},"line":5},"4":{"name":"(anonymous_4)","decl":{"start":{"line":5,"column":33},"end":{"line":5,"column":34}},"loc":{"start":{"line":5,"column":50},"end":{"line":5,"column":54}},"line":5},"5":{"name":"(anonymous_5)","decl":{"start":{"line":6,"column":20},"end":{"line":6,"column":21}},"loc":{"start":{"line":6,"column":28},"end":{"line":6,"column":55}},"line":6},"6":{"name":"(anonymous_6)","decl":{"start":{"line":6,"column":33},"end":{"line":6,"column":34}},"loc":{"start":{"line":6,"column":50},"end":{"line":6,"column":54}},"line":6},"7":{"name":"(anonymous_7)","decl":{"start":{"line":7,"column":23},"end":{"line":7,"column":24}},"loc":{"start":{"line":7,"column":31},"end":{"line":7,"column":58}},"line":7},"8":{"name":"(anonymous_8)","decl":{"start":{"line":7,"column":36},"end":{"line":7,"column":37}},"loc":{"start":{"line":7,"column":53},"end":{"line":7,"column":57}},"line":7}},"branchMap":{},"s":{"0":1,"1":92,"2":1,"3":80,"4":206,"5":1,"6":24,"7":24,"8":1,"9":84,"10":84,"11":1,"12":190,"13":190},"f":{"0":92,"1":80,"2":206,"3":24,"4":24,"5":84,"6":84,"7":190,"8":190},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f354c3d50b29da9307c972b7f2fbf1db543f46a0"}
,"/Users/sid/Dev/church-encoding/lib/natural-number.js": {"path":"/Users/sid/Dev/church-encoding/lib/natural-number.js","statementMap":{"0":{"start":{"line":4,"column":23},"end":{"line":4,"column":32}},"1":{"start":{"line":5,"column":25},"end":{"line":5,"column":32}},"2":{"start":{"line":6,"column":22},"end":{"line":6,"column":47}},"3":{"start":{"line":6,"column":29},"end":{"line":6,"column":47}},"4":{"start":{"line":7,"column":22},"end":{"line":7,"column":38}},"5":{"start":{"line":7,"column":29},"end":{"line":7,"column":38}},"6":{"start":{"line":8,"column":22},"end":{"line":8,"column":95}},"7":{"start":{"line":8,"column":32},"end":{"line":8,"column":95}},"8":{"start":{"line":8,"column":55},"end":{"line":8,"column":56}},"9":{"start":{"line":8,"column":64},"end":{"line":8,"column":92}},"10":{"start":{"line":9,"column":22},"end":{"line":9,"column":95}},"11":{"start":{"line":9,"column":32},"end":{"line":9,"column":95}},"12":{"start":{"line":9,"column":55},"end":{"line":9,"column":56}},"13":{"start":{"line":9,"column":64},"end":{"line":9,"column":92}},"14":{"start":{"line":10,"column":26},"end":{"line":15,"column":5}},"15":{"start":{"line":11,"column":2},"end":{"line":15,"column":5}},"16":{"start":{"line":13,"column":10},"end":{"line":13,"column":11}},"17":{"start":{"line":14,"column":10},"end":{"line":14,"column":95}},"18":{"start":{"line":14,"column":51},"end":{"line":14,"column":52}},"19":{"start":{"line":14,"column":60},"end":{"line":14,"column":92}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":22},"end":{"line":6,"column":23}},"loc":{"start":{"line":6,"column":29},"end":{"line":6,"column":47}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":7,"column":22},"end":{"line":7,"column":23}},"loc":{"start":{"line":7,"column":29},"end":{"line":7,"column":38}},"line":7},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":22},"end":{"line":8,"column":23}},"loc":{"start":{"line":8,"column":32},"end":{"line":8,"column":95}},"line":8},"3":{"name":"(anonymous_3)","decl":{"start":{"line":8,"column":49},"end":{"line":8,"column":50}},"loc":{"start":{"line":8,"column":55},"end":{"line":8,"column":56}},"line":8},"4":{"name":"(anonymous_4)","decl":{"start":{"line":8,"column":58},"end":{"line":8,"column":59}},"loc":{"start":{"line":8,"column":64},"end":{"line":8,"column":92}},"line":8},"5":{"name":"(anonymous_5)","decl":{"start":{"line":9,"column":22},"end":{"line":9,"column":23}},"loc":{"start":{"line":9,"column":32},"end":{"line":9,"column":95}},"line":9},"6":{"name":"(anonymous_6)","decl":{"start":{"line":9,"column":49},"end":{"line":9,"column":50}},"loc":{"start":{"line":9,"column":55},"end":{"line":9,"column":56}},"line":9},"7":{"name":"(anonymous_7)","decl":{"start":{"line":9,"column":58},"end":{"line":9,"column":59}},"loc":{"start":{"line":9,"column":64},"end":{"line":9,"column":92}},"line":9},"8":{"name":"(anonymous_8)","decl":{"start":{"line":10,"column":26},"end":{"line":10,"column":27}},"loc":{"start":{"line":11,"column":2},"end":{"line":15,"column":5}},"line":11},"9":{"name":"(anonymous_9)","decl":{"start":{"line":13,"column":4},"end":{"line":13,"column":5}},"loc":{"start":{"line":13,"column":10},"end":{"line":13,"column":11}},"line":13},"10":{"name":"(anonymous_10)","decl":{"start":{"line":14,"column":4},"end":{"line":14,"column":5}},"loc":{"start":{"line":14,"column":10},"end":{"line":14,"column":95}},"line":14},"11":{"name":"(anonymous_11)","decl":{"start":{"line":14,"column":45},"end":{"line":14,"column":46}},"loc":{"start":{"line":14,"column":51},"end":{"line":14,"column":52}},"line":14},"12":{"name":"(anonymous_12)","decl":{"start":{"line":14,"column":54},"end":{"line":14,"column":55}},"loc":{"start":{"line":14,"column":60},"end":{"line":14,"column":92}},"line":14}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":49,"4":1,"5":55,"6":1,"7":33,"8":14,"9":19,"10":1,"11":0,"12":0,"13":0,"14":1,"15":12,"16":4,"17":8,"18":4,"19":4},"f":{"0":49,"1":55,"2":33,"3":14,"4":19,"5":0,"6":0,"7":0,"8":12,"9":4,"10":8,"11":4,"12":4},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"52f74faea4ce06ebf4d4d326a1cf5fb1c9d6a0e0"}
,"/Users/sid/Dev/church-encoding/lib/natural-number.js": {"path":"/Users/sid/Dev/church-encoding/lib/natural-number.js","statementMap":{"0":{"start":{"line":4,"column":23},"end":{"line":4,"column":32}},"1":{"start":{"line":5,"column":25},"end":{"line":5,"column":32}},"2":{"start":{"line":6,"column":22},"end":{"line":6,"column":47}},"3":{"start":{"line":6,"column":29},"end":{"line":6,"column":47}},"4":{"start":{"line":7,"column":22},"end":{"line":7,"column":38}},"5":{"start":{"line":7,"column":29},"end":{"line":7,"column":38}},"6":{"start":{"line":8,"column":22},"end":{"line":8,"column":95}},"7":{"start":{"line":8,"column":32},"end":{"line":8,"column":95}},"8":{"start":{"line":8,"column":55},"end":{"line":8,"column":56}},"9":{"start":{"line":8,"column":64},"end":{"line":8,"column":92}},"10":{"start":{"line":9,"column":22},"end":{"line":9,"column":95}},"11":{"start":{"line":9,"column":32},"end":{"line":9,"column":95}},"12":{"start":{"line":9,"column":55},"end":{"line":9,"column":56}},"13":{"start":{"line":9,"column":64},"end":{"line":9,"column":92}},"14":{"start":{"line":10,"column":26},"end":{"line":15,"column":5}},"15":{"start":{"line":11,"column":2},"end":{"line":15,"column":5}},"16":{"start":{"line":13,"column":10},"end":{"line":13,"column":11}},"17":{"start":{"line":14,"column":10},"end":{"line":14,"column":95}},"18":{"start":{"line":14,"column":51},"end":{"line":14,"column":52}},"19":{"start":{"line":14,"column":60},"end":{"line":14,"column":92}},"20":{"start":{"line":16,"column":22},"end":{"line":17,"column":74}},"21":{"start":{"line":17,"column":2},"end":{"line":17,"column":74}},"22":{"start":{"line":17,"column":25},"end":{"line":17,"column":32}},"23":{"start":{"line":17,"column":40},"end":{"line":17,"column":71}},"24":{"start":{"line":18,"column":22},"end":{"line":19,"column":88}},"25":{"start":{"line":19,"column":2},"end":{"line":19,"column":88}},"26":{"start":{"line":19,"column":27},"end":{"line":19,"column":42}},"27":{"start":{"line":19,"column":50},"end":{"line":19,"column":87}},"28":{"start":{"line":20,"column":29},"end":{"line":30,"column":5}},"29":{"start":{"line":21,"column":2},"end":{"line":30,"column":5}},"30":{"start":{"line":23,"column":10},"end":{"line":23,"column":11}},"31":{"start":{"line":25,"column":6},"end":{"line":29,"column":9}},"32":{"start":{"line":27,"column":14},"end":{"line":27,"column":15}},"33":{"start":{"line":28,"column":14},"end":{"line":28,"column":84}},"34":{"start":{"line":28,"column":37},"end":{"line":28,"column":38}},"35":{"start":{"line":28,"column":46},"end":{"line":28,"column":81}},"36":{"start":{"line":31,"column":34},"end":{"line":31,"column":85}},"37":{"start":{"line":31,"column":44},"end":{"line":31,"column":85}},"38":{"start":{"line":32,"column":32},"end":{"line":32,"column":61}},"39":{"start":{"line":32,"column":42},"end":{"line":32,"column":61}},"40":{"start":{"line":33,"column":37},"end":{"line":33,"column":71}},"41":{"start":{"line":33,"column":47},"end":{"line":33,"column":71}},"42":{"start":{"line":34,"column":22},"end":{"line":44,"column":5}},"43":{"start":{"line":35,"column":2},"end":{"line":44,"column":5}},"44":{"start":{"line":37,"column":10},"end":{"line":37,"column":17}},"45":{"start":{"line":39,"column":6},"end":{"line":43,"column":9}},"46":{"start":{"line":41,"column":14},"end":{"line":41,"column":29}},"47":{"start":{"line":42,"column":14},"end":{"line":42,"column":62}},"48":{"start":{"line":45,"column":22},"end":{"line":45,"column":66}},"49":{"start":{"line":45,"column":32},"end":{"line":45,"column":66}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":22},"end":{"line":6,"column":23}},"loc":{"start":{"line":6,"column":29},"end":{"line":6,"column":47}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":7,"column":22},"end":{"line":7,"column":23}},"loc":{"start":{"line":7,"column":29},"end":{"line":7,"column":38}},"line":7},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":22},"end":{"line":8,"column":23}},"loc":{"start":{"line":8,"column":32},"end":{"line":8,"column":95}},"line":8},"3":{"name":"(anonymous_3)","decl":{"start":{"line":8,"column":49},"end":{"line":8,"column":50}},"loc":{"start":{"line":8,"column":55},"end":{"line":8,"column":56}},"line":8},"4":{"name":"(anonymous_4)","decl":{"start":{"line":8,"column":58},"end":{"line":8,"column":59}},"loc":{"start":{"line":8,"column":64},"end":{"line":8,"column":92}},"line":8},"5":{"name":"(anonymous_5)","decl":{"start":{"line":9,"column":22},"end":{"line":9,"column":23}},"loc":{"start":{"line":9,"column":32},"end":{"line":9,"column":95}},"line":9},"6":{"name":"(anonymous_6)","decl":{"start":{"line":9,"column":49},"end":{"line":9,"column":50}},"loc":{"start":{"line":9,"column":55},"end":{"line":9,"column":56}},"line":9},"7":{"name":"(anonymous_7)","decl":{"start":{"line":9,"column":58},"end":{"line":9,"column":59}},"loc":{"start":{"line":9,"column":64},"end":{"line":9,"column":92}},"line":9},"8":{"name":"(anonymous_8)","decl":{"start":{"line":10,"column":26},"end":{"line":10,"column":27}},"loc":{"start":{"line":11,"column":2},"end":{"line":15,"column":5}},"line":11},"9":{"name":"(anonymous_9)","decl":{"start":{"line":13,"column":4},"end":{"line":13,"column":5}},"loc":{"start":{"line":13,"column":10},"end":{"line":13,"column":11}},"line":13},"10":{"name":"(anonymous_10)","decl":{"start":{"line":14,"column":4},"end":{"line":14,"column":5}},"loc":{"start":{"line":14,"column":10},"end":{"line":14,"column":95}},"line":14},"11":{"name":"(anonymous_11)","decl":{"start":{"line":14,"column":45},"end":{"line":14,"column":46}},"loc":{"start":{"line":14,"column":51},"end":{"line":14,"column":52}},"line":14},"12":{"name":"(anonymous_12)","decl":{"start":{"line":14,"column":54},"end":{"line":14,"column":55}},"loc":{"start":{"line":14,"column":60},"end":{"line":14,"column":92}},"line":14},"13":{"name":"(anonymous_13)","decl":{"start":{"line":16,"column":22},"end":{"line":16,"column":23}},"loc":{"start":{"line":17,"column":2},"end":{"line":17,"column":74}},"line":17},"14":{"name":"(anonymous_14)","decl":{"start":{"line":17,"column":19},"end":{"line":17,"column":20}},"loc":{"start":{"line":17,"column":25},"end":{"line":17,"column":32}},"line":17},"15":{"name":"(anonymous_15)","decl":{"start":{"line":17,"column":34},"end":{"line":17,"column":35}},"loc":{"start":{"line":17,"column":40},"end":{"line":17,"column":71}},"line":17},"16":{"name":"(anonymous_16)","decl":{"start":{"line":18,"column":22},"end":{"line":18,"column":23}},"loc":{"start":{"line":19,"column":2},"end":{"line":19,"column":88}},"line":19},"17":{"name":"(anonymous_17)","decl":{"start":{"line":19,"column":21},"end":{"line":19,"column":22}},"loc":{"start":{"line":19,"column":27},"end":{"line":19,"column":42}},"line":19},"18":{"name":"(anonymous_18)","decl":{"start":{"line":19,"column":44},"end":{"line":19,"column":45}},"loc":{"start":{"line":19,"column":50},"end":{"line":19,"column":87}},"line":19},"19":{"name":"(anonymous_19)","decl":{"start":{"line":20,"column":29},"end":{"line":20,"column":30}},"loc":{"start":{"line":21,"column":2},"end":{"line":30,"column":5}},"line":21},"20":{"name":"(anonymous_20)","decl":{"start":{"line":23,"column":4},"end":{"line":23,"column":5}},"loc":{"start":{"line":23,"column":10},"end":{"line":23,"column":11}},"line":23},"21":{"name":"(anonymous_21)","decl":{"start":{"line":24,"column":4},"end":{"line":24,"column":5}},"loc":{"start":{"line":25,"column":6},"end":{"line":29,"column":9}},"line":25},"22":{"name":"(anonymous_22)","decl":{"start":{"line":27,"column":8},"end":{"line":27,"column":9}},"loc":{"start":{"line":27,"column":14},"end":{"line":27,"column":15}},"line":27},"23":{"name":"(anonymous_23)","decl":{"start":{"line":28,"column":8},"end":{"line":28,"column":9}},"loc":{"start":{"line":28,"column":14},"end":{"line":28,"column":84}},"line":28},"24":{"name":"(anonymous_24)","decl":{"start":{"line":28,"column":31},"end":{"line":28,"column":32}},"loc":{"start":{"line":28,"column":37},"end":{"line":28,"column":38}},"line":28},"25":{"name":"(anonymous_25)","decl":{"start":{"line":28,"column":40},"end":{"line":28,"column":41}},"loc":{"start":{"line":28,"column":46},"end":{"line":28,"column":81}},"line":28},"26":{"name":"(anonymous_26)","decl":{"start":{"line":31,"column":34},"end":{"line":31,"column":35}},"loc":{"start":{"line":31,"column":44},"end":{"line":31,"column":85}},"line":31},"27":{"name":"(anonymous_27)","decl":{"start":{"line":32,"column":32},"end":{"line":32,"column":33}},"loc":{"start":{"line":32,"column":42},"end":{"line":32,"column":61}},"line":32},"28":{"name":"(anonymous_28)","decl":{"start":{"line":33,"column":37},"end":{"line":33,"column":38}},"loc":{"start":{"line":33,"column":47},"end":{"line":33,"column":71}},"line":33},"29":{"name":"(anonymous_29)","decl":{"start":{"line":34,"column":22},"end":{"line":34,"column":23}},"loc":{"start":{"line":35,"column":2},"end":{"line":44,"column":5}},"line":35},"30":{"name":"(anonymous_30)","decl":{"start":{"line":37,"column":4},"end":{"line":37,"column":5}},"loc":{"start":{"line":37,"column":10},"end":{"line":37,"column":17}},"line":37},"31":{"name":"(anonymous_31)","decl":{"start":{"line":38,"column":4},"end":{"line":38,"column":5}},"loc":{"start":{"line":39,"column":6},"end":{"line":43,"column":9}},"line":39},"32":{"name":"(anonymous_32)","decl":{"start":{"line":41,"column":8},"end":{"line":41,"column":9}},"loc":{"start":{"line":41,"column":14},"end":{"line":41,"column":29}},"line":41},"33":{"name":"(anonymous_33)","decl":{"start":{"line":42,"column":8},"end":{"line":42,"column":9}},"loc":{"start":{"line":42,"column":14},"end":{"line":42,"column":62}},"line":42},"34":{"name":"(anonymous_34)","decl":{"start":{"line":45,"column":22},"end":{"line":45,"column":23}},"loc":{"start":{"line":45,"column":32},"end":{"line":45,"column":66}},"line":45}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":49,"4":1,"5":55,"6":1,"7":33,"8":14,"9":19,"10":1,"11":0,"12":0,"13":0,"14":1,"15":12,"16":4,"17":8,"18":4,"19":4,"20":1,"21":0,"22":0,"23":0,"24":1,"25":0,"26":0,"27":0,"28":1,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":1,"37":0,"38":1,"39":0,"40":1,"41":0,"42":1,"43":0,"44":0,"45":0,"46":0,"47":0,"48":1,"49":0},"f":{"0":49,"1":55,"2":33,"3":14,"4":19,"5":0,"6":0,"7":0,"8":12,"9":4,"10":8,"11":4,"12":4,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e89796daa4eb630f793f366e1dbe7c9a2bb1b9e0"}
}

@@ -1,2 +0,2 @@

/* @f0rr0/church-encoding 1.2.0 */
/* @f0rr0/church-encoding 1.3.0 */
'use strict';

@@ -31,2 +31,32 @@

)();
const mulNat = (a, b) =>
IF(isZeroNat(b), () => zeroNat, () => addNat(a, mulNat(a, decNat(b))))();
const expNat = (pow, num) =>
IF(isZeroNat(pow), () => incNat(zeroNat), () => mulNat(num, expNat(decNat(num), num)));
const isLessThanNat = (a, b) =>
IF(
AND(isZeroNat(a), isZeroNat(b)),
() => F,
() =>
IF(
isZeroNat(b),
() => F,
() => IF(isZeroNat(a), () => T, () => isLessThanNat(decNat(a), decNat(b)))()
)()
)();
const isLessThanEqualNat = (a, b) => OR(isLessThanNat(a, b), isEqualNat(a, b));
const isGreaterThanNat = (a, b) => isLessThanNat(b, a);
const isGreaterThanEqualNat = (a, b) => isLessThanEqualNat(b, a);
const divNat = (a, b) =>
IF(
isLessThanNat(a, b),
() => zeroNat,
() =>
IF(
isEqualNat(a, b),
() => incNat(zeroNat),
() => addNat(incNat(zeroNat), divNat(subNat(a, b), b))
)()
)();
const modNat = (a, b) => subNat(a, mulNat(b, divNat(a, b)));

@@ -50,2 +80,15 @@ const pair = (a, b) => selector => selector(a, b);

)();
const normalize = int =>
IF(
isZero(int),
() => zero,
() =>
IF(
OR(isZeroNat(first(int)), isZeroNat(second(int))),
() => int,
() => normalize(pair(decNat(first(int)), decNat(second(int))))
)()
)();
const abs = int =>
IF(isZeroNat(first(normalize(int))), () => second(normalize(int)), () => first(normalize(int)))();
const negate = int => pair(second(int), first(int));

@@ -55,2 +98,13 @@ const add = (a, b) => pair(addNat(first(a), first(b)), addNat(second(a), second(b)));

const isEqual = (a, b) => isZero(sub(a, b));
const mul = (a, b) =>
pair(
addNat(mulNat(first(a), first(b)), mulNat(second(a), second(b))),
addNat(mulNat(first(a), second(b)), mulNat(second(a), first(b)))
);
const exp = (pow, int) =>
IF(
isZeroNat(modNat(pow, inc(inc(zero)))),
() => pair(expNat(pow, abs(int)), zeroNat),
() => pair(zeroNat, expNat(pow, abs(int)))
)();

@@ -77,5 +131,4 @@ const map = (f, list) =>

IF(isEmpty(list), () => [], () => [head(list)].concat(decodeList(tail(list))))();
const decodeNatNumber = num =>
IF(isZeroNat(num), () => 0, () => 1 + decodeNatNumber(decNat(num)))();
const decodeInteger = int => decodeNatNumber(first(int)) - decodeNatNumber(second(int));
const decodeNat = num => IF(isZeroNat(num), () => 0, () => 1 + decodeNat(decNat(num)))();
const decodeInteger = int => decodeNat(first(int)) - decodeNat(second(int));

@@ -100,2 +153,10 @@ exports.T = T;

exports.isEqualNat = isEqualNat;
exports.mulNat = mulNat;
exports.expNat = expNat;
exports.isLessThanNat = isLessThanNat;
exports.isLessThanEqualNat = isLessThanEqualNat;
exports.isGreaterThanNat = isGreaterThanNat;
exports.isGreaterThanEqualNat = isGreaterThanEqualNat;
exports.divNat = divNat;
exports.modNat = modNat;
exports.pair = pair;

@@ -108,2 +169,4 @@ exports.first = first;

exports.dec = dec;
exports.normalize = normalize;
exports.abs = abs;
exports.negate = negate;

@@ -113,2 +176,4 @@ exports.add = add;

exports.isEqual = isEqual;
exports.mul = mul;
exports.exp = exp;
exports.map = map;

@@ -120,4 +185,4 @@ exports.filter = filter;

exports.decodeList = decodeList;
exports.decodeNatNumber = decodeNatNumber;
exports.decodeNat = decodeNat;
exports.decodeInteger = decodeInteger;
/* Follow me on Twitter @f0rr0 */

@@ -1,2 +0,2 @@

/* @f0rr0/church-encoding 1.2.0 */
/* @f0rr0/church-encoding 1.3.0 */
const T = (left, _) => left;

@@ -27,2 +27,32 @@ const F = (_, right) => right;

)();
const mulNat = (a, b) =>
IF(isZeroNat(b), () => zeroNat, () => addNat(a, mulNat(a, decNat(b))))();
const expNat = (pow, num) =>
IF(isZeroNat(pow), () => incNat(zeroNat), () => mulNat(num, expNat(decNat(num), num)));
const isLessThanNat = (a, b) =>
IF(
AND(isZeroNat(a), isZeroNat(b)),
() => F,
() =>
IF(
isZeroNat(b),
() => F,
() => IF(isZeroNat(a), () => T, () => isLessThanNat(decNat(a), decNat(b)))()
)()
)();
const isLessThanEqualNat = (a, b) => OR(isLessThanNat(a, b), isEqualNat(a, b));
const isGreaterThanNat = (a, b) => isLessThanNat(b, a);
const isGreaterThanEqualNat = (a, b) => isLessThanEqualNat(b, a);
const divNat = (a, b) =>
IF(
isLessThanNat(a, b),
() => zeroNat,
() =>
IF(
isEqualNat(a, b),
() => incNat(zeroNat),
() => addNat(incNat(zeroNat), divNat(subNat(a, b), b))
)()
)();
const modNat = (a, b) => subNat(a, mulNat(b, divNat(a, b)));

@@ -46,2 +76,15 @@ const pair = (a, b) => selector => selector(a, b);

)();
const normalize = int =>
IF(
isZero(int),
() => zero,
() =>
IF(
OR(isZeroNat(first(int)), isZeroNat(second(int))),
() => int,
() => normalize(pair(decNat(first(int)), decNat(second(int))))
)()
)();
const abs = int =>
IF(isZeroNat(first(normalize(int))), () => second(normalize(int)), () => first(normalize(int)))();
const negate = int => pair(second(int), first(int));

@@ -51,2 +94,13 @@ const add = (a, b) => pair(addNat(first(a), first(b)), addNat(second(a), second(b)));

const isEqual = (a, b) => isZero(sub(a, b));
const mul = (a, b) =>
pair(
addNat(mulNat(first(a), first(b)), mulNat(second(a), second(b))),
addNat(mulNat(first(a), second(b)), mulNat(second(a), first(b)))
);
const exp = (pow, int) =>
IF(
isZeroNat(modNat(pow, inc(inc(zero)))),
() => pair(expNat(pow, abs(int)), zeroNat),
() => pair(zeroNat, expNat(pow, abs(int)))
)();

@@ -73,7 +127,6 @@ const map = (f, list) =>

IF(isEmpty(list), () => [], () => [head(list)].concat(decodeList(tail(list))))();
const decodeNatNumber = num =>
IF(isZeroNat(num), () => 0, () => 1 + decodeNatNumber(decNat(num)))();
const decodeInteger = int => decodeNatNumber(first(int)) - decodeNatNumber(second(int));
const decodeNat = num => IF(isZeroNat(num), () => 0, () => 1 + decodeNat(decNat(num)))();
const decodeInteger = int => decodeNat(first(int)) - decodeNat(second(int));
export { T, F, IF, AND, OR, NOT, emptyList, cons, head, tail, isEmpty, zeroNat, isZeroNat, incNat, decNat, addNat, subNat, isEqualNat, pair, first, second, zero, isZero, inc, dec, negate, add, sub, isEqual, map, filter, nth, length, decodeBool, decodeList, decodeNatNumber, decodeInteger };
export { T, F, IF, AND, OR, NOT, emptyList, cons, head, tail, isEmpty, zeroNat, isZeroNat, incNat, decNat, addNat, subNat, isEqualNat, mulNat, expNat, isLessThanNat, isLessThanEqualNat, isGreaterThanNat, isGreaterThanEqualNat, divNat, modNat, pair, first, second, zero, isZero, inc, dec, normalize, abs, negate, add, sub, isEqual, mul, exp, map, filter, nth, length, decodeBool, decodeList, decodeNat, decodeInteger };
/* Follow me on Twitter @f0rr0 */

@@ -1,2 +0,2 @@

/* @f0rr0/church-encoding 1.2.0 */
/* @f0rr0/church-encoding 1.3.0 */
(function (global, factory) {

@@ -33,2 +33,32 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :

)();
const mulNat = (a, b) =>
IF(isZeroNat(b), () => zeroNat, () => addNat(a, mulNat(a, decNat(b))))();
const expNat = (pow, num) =>
IF(isZeroNat(pow), () => incNat(zeroNat), () => mulNat(num, expNat(decNat(num), num)));
const isLessThanNat = (a, b) =>
IF(
AND(isZeroNat(a), isZeroNat(b)),
() => F,
() =>
IF(
isZeroNat(b),
() => F,
() => IF(isZeroNat(a), () => T, () => isLessThanNat(decNat(a), decNat(b)))()
)()
)();
const isLessThanEqualNat = (a, b) => OR(isLessThanNat(a, b), isEqualNat(a, b));
const isGreaterThanNat = (a, b) => isLessThanNat(b, a);
const isGreaterThanEqualNat = (a, b) => isLessThanEqualNat(b, a);
const divNat = (a, b) =>
IF(
isLessThanNat(a, b),
() => zeroNat,
() =>
IF(
isEqualNat(a, b),
() => incNat(zeroNat),
() => addNat(incNat(zeroNat), divNat(subNat(a, b), b))
)()
)();
const modNat = (a, b) => subNat(a, mulNat(b, divNat(a, b)));

@@ -52,2 +82,15 @@ const pair = (a, b) => selector => selector(a, b);

)();
const normalize = int =>
IF(
isZero(int),
() => zero,
() =>
IF(
OR(isZeroNat(first(int)), isZeroNat(second(int))),
() => int,
() => normalize(pair(decNat(first(int)), decNat(second(int))))
)()
)();
const abs = int =>
IF(isZeroNat(first(normalize(int))), () => second(normalize(int)), () => first(normalize(int)))();
const negate = int => pair(second(int), first(int));

@@ -57,2 +100,13 @@ const add = (a, b) => pair(addNat(first(a), first(b)), addNat(second(a), second(b)));

const isEqual = (a, b) => isZero(sub(a, b));
const mul = (a, b) =>
pair(
addNat(mulNat(first(a), first(b)), mulNat(second(a), second(b))),
addNat(mulNat(first(a), second(b)), mulNat(second(a), first(b)))
);
const exp = (pow, int) =>
IF(
isZeroNat(modNat(pow, inc(inc(zero)))),
() => pair(expNat(pow, abs(int)), zeroNat),
() => pair(zeroNat, expNat(pow, abs(int)))
)();

@@ -79,5 +133,4 @@ const map = (f, list) =>

IF(isEmpty(list), () => [], () => [head(list)].concat(decodeList(tail(list))))();
const decodeNatNumber = num =>
IF(isZeroNat(num), () => 0, () => 1 + decodeNatNumber(decNat(num)))();
const decodeInteger = int => decodeNatNumber(first(int)) - decodeNatNumber(second(int));
const decodeNat = num => IF(isZeroNat(num), () => 0, () => 1 + decodeNat(decNat(num)))();
const decodeInteger = int => decodeNat(first(int)) - decodeNat(second(int));

@@ -102,2 +155,10 @@ exports.T = T;

exports.isEqualNat = isEqualNat;
exports.mulNat = mulNat;
exports.expNat = expNat;
exports.isLessThanNat = isLessThanNat;
exports.isLessThanEqualNat = isLessThanEqualNat;
exports.isGreaterThanNat = isGreaterThanNat;
exports.isGreaterThanEqualNat = isGreaterThanEqualNat;
exports.divNat = divNat;
exports.modNat = modNat;
exports.pair = pair;

@@ -110,2 +171,4 @@ exports.first = first;

exports.dec = dec;
exports.normalize = normalize;
exports.abs = abs;
exports.negate = negate;

@@ -115,2 +178,4 @@ exports.add = add;

exports.isEqual = isEqual;
exports.mul = mul;
exports.exp = exp;
exports.map = map;

@@ -122,3 +187,3 @@ exports.filter = filter;

exports.decodeList = decodeList;
exports.decodeNatNumber = decodeNatNumber;
exports.decodeNat = decodeNat;
exports.decodeInteger = decodeInteger;

@@ -125,0 +190,0 @@

@@ -9,4 +9,3 @@ import { IF } from './boolean';

IF(isEmpty(list), () => [], () => [head(list)].concat(decodeList(tail(list))))();
export const decodeNatNumber = num =>
IF(isZeroNat(num), () => 0, () => 1 + decodeNatNumber(decNat(num)))();
export const decodeInteger = int => decodeNatNumber(first(int)) - decodeNatNumber(second(int));
export const decodeNat = num => IF(isZeroNat(num), () => 0, () => 1 + decodeNat(decNat(num)))();
export const decodeInteger = int => decodeNat(first(int)) - decodeNat(second(int));

@@ -1,3 +0,13 @@

import { NOT, IF } from './boolean';
import { zeroNat, isZeroNat, decNat, incNat, addNat, isEqualNat } from './natural-number';
import { NOT, IF, OR } from './boolean';
import {
zeroNat,
isZeroNat,
decNat,
incNat,
addNat,
isEqualNat,
mulNat,
modNat,
expNat
} from './natural-number';

@@ -21,2 +31,15 @@ export const pair = (a, b) => selector => selector(a, b);

)();
export const normalize = int =>
IF(
isZero(int),
() => zero,
() =>
IF(
OR(isZeroNat(first(int)), isZeroNat(second(int))),
() => int,
() => normalize(pair(decNat(first(int)), decNat(second(int))))
)()
)();
export const abs = int =>
IF(isZeroNat(first(normalize(int))), () => second(normalize(int)), () => first(normalize(int)))();
export const negate = int => pair(second(int), first(int));

@@ -26,1 +49,12 @@ export const add = (a, b) => pair(addNat(first(a), first(b)), addNat(second(a), second(b)));

export const isEqual = (a, b) => isZero(sub(a, b));
export const mul = (a, b) =>
pair(
addNat(mulNat(first(a), first(b)), mulNat(second(a), second(b))),
addNat(mulNat(first(a), second(b)), mulNat(second(a), first(b)))
);
export const exp = (pow, int) =>
IF(
isZeroNat(modNat(pow, inc(inc(zero)))),
() => pair(expNat(pow, abs(int)), zeroNat),
() => pair(zeroNat, expNat(pow, abs(int)))
)();

@@ -16,1 +16,31 @@ import { T, F, AND, OR, IF } from './boolean';

)();
export const mulNat = (a, b) =>
IF(isZeroNat(b), () => zeroNat, () => addNat(a, mulNat(a, decNat(b))))();
export const expNat = (pow, num) =>
IF(isZeroNat(pow), () => incNat(zeroNat), () => mulNat(num, expNat(decNat(num), num)));
export const isLessThanNat = (a, b) =>
IF(
AND(isZeroNat(a), isZeroNat(b)),
() => F,
() =>
IF(
isZeroNat(b),
() => F,
() => IF(isZeroNat(a), () => T, () => isLessThanNat(decNat(a), decNat(b)))()
)()
)();
export const isLessThanEqualNat = (a, b) => OR(isLessThanNat(a, b), isEqualNat(a, b));
export const isGreaterThanNat = (a, b) => isLessThanNat(b, a);
export const isGreaterThanEqualNat = (a, b) => isLessThanEqualNat(b, a);
export const divNat = (a, b) =>
IF(
isLessThanNat(a, b),
() => zeroNat,
() =>
IF(
isEqualNat(a, b),
() => incNat(zeroNat),
() => addNat(incNat(zeroNat), divNat(subNat(a, b), b))
)()
)();
export const modNat = (a, b) => subNat(a, mulNat(b, divNat(a, b)));
{
"name": "@f0rr0/church-encoding",
"version": "1.2.0",
"version": "1.3.0",
"description": "Church encoding for primitives and data structures",

@@ -13,3 +13,5 @@ "main": "dist/church.cjs.js",

"@semantic-release/changelog": "^2.0.1",
"@semantic-release/exec": "^2.2.3",
"@semantic-release/git": "^4.0.1",
"@semantic-release/github": "^4.2.8",
"@semantic-release/npm": "^3.2.4",

@@ -44,3 +46,3 @@ "babel-core": "^6.26.0",

"prepublishOnly": "yarn build",
"release": "semantic-release --ci=false"
"release": "semantic-release"
},

@@ -72,15 +74,3 @@ "husky": {

"access": "public"
},
"release": {
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc