Skip to content

Commit

Permalink
removed elem
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Ask committed May 29, 2024
1 parent 497aaf2 commit b100e0c
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 1,026 deletions.
1 change: 1 addition & 0 deletions examples/network/aliases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"pingpong-listener":"12D3KooWK5UgRtP27Jdujm79Pq3QLJ5Gttg2PucDF8Hppd7txJiA","pingpong-dialer":"12D3KooWQ6DqK22D98Ro4WopLhsGPkUyb2d3EvckDrvSYta4E3Y6"}
Binary file removed examples/network/bug.zip
Binary file not shown.
1 change: 1 addition & 0 deletions examples/network/ids/pingpong-dialer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"12D3KooWQ6DqK22D98Ro4WopLhsGPkUyb2d3EvckDrvSYta4E3Y6","privKey":"CAESQMLauuc9ZpSyyUT6M2aEVHOmpWKtu1iJ1RgoF9J27chG1BN8ReNF+MDNiTWrpC3T66mQdb/lo1Rq0PDXJR2KmWs=","pubKey":"CAESINQTfEXjRfjAzYk1q6Qt0+upkHW/5aNUatDw1yUdiplr"}
1 change: 1 addition & 0 deletions examples/network/ids/pingpong-listener.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"12D3KooWK5UgRtP27Jdujm79Pq3QLJ5Gttg2PucDF8Hppd7txJiA","privKey":"CAESQJrfEr15UL1tJWbldgZzBh9T9Y9RrkRSAzDT4lKeK9EqiZhB5ZFmAGv3Q8cidbFUpoizcWTqTBIZjYmLn3n4jL8=","pubKey":"CAESIImYQeWRZgBr90PHInWxVKaIs3Fk6kwSGY2Ji595+Iy/"}
2 changes: 1 addition & 1 deletion examples/network/pingpong/aliases.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pingpong-listener":"QmNLstfWyBabHSoCATbjUKyiTkiBbGMRfXKuT2b8Bv62AW","pingpong-dialer":"QmVVBs2C1C9rP72jmHcuJkzvZRPE2WBWUyCPwa7tNavFh7"}
{"pingpong-listener":"12D3KooWRreQ2wg6auezZE2FW5BYaRTW56HH7oPe5EPcwnTDACms","pingpong-dialer":"12D3KooW9yLx9GWMoh58Q3eLwnjSDgZ22pNcbULn1rL1B3g5dCCH"}
2 changes: 1 addition & 1 deletion examples/network/pingpong/ids/pingpong-dialer.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"QmVVBs2C1C9rP72jmHcuJkzvZRPE2WBWUyCPwa7tNavFh7","privKey":"CAASpwkwggSjAgEAAoIBAQCmU3JZoXROh/HGZTxcQlg2Hun/U6zK0CE+jN7p63cEqfG1rYq6QmQ9oKdTTS7L4Vvtx9JCrcjsXIHQuKBTg1ZS8+hy3ZBo7TbgtYNvD9A8MQW2R6dqurNzUKn1qaxpZl13sQT7ol4cFF4viwMwAo128FeG2k1W4un+D9evg/8FfAbOBxsyTil97R1rWHHtyPobtr+zOV7a9mcbutaKzxWbWjZUQnJcd+BMyesFDYIAZhPYGC458jWkB7/1Sw6nWKIVuh1DDQiQ4AThzp7ks9JLbVKUNzumVn9zOy0CrVlmB3GVj7p77mzJkGuDZqh5CcsK9gs11i/xz5rfuZisqxGDAgMBAAECggEAd+pd3UVMZ3oX1GQUuqeSlaKALneTcr3P2hsSdDAxpQkpnUS7akKHpu729FYHUTLvZmXUsAI/hDnF1kfmP4/HYxM7GeWoQh4UnLoBQsdx6JOnfJ34lDh7PL6Bav6jsXH+HVdhMlMD6ta8eSaOa8TLXV82m6E0dVowPd4KMR7HdJmku/0G7czunZt2huuinYAZ24kLnVxSU47Z7ngQb4pvhaHqepFBEOlp9Gvku9q0nzVeWmLo1J4MPT4CsUybS+c//aFz9pw/6lBBV2SUQuzyZ00fYzLZSRaLKQEo87WUVkdcx81JgoSkFt2i8v7QzmSPDU1sPfC3RUnUluBIfVWz8QKBgQDsWbdRl2WRYDo/S3sD9kwt3WnE+Fdihc24uE1HgLuC9BhRDS9OOBc/XjlUvkCrxd0Glr1FTfP9ewNgxXQ5mnNTo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PYGC458jWkB7/1Sw6nWKIVuh1DDQiQ4AThzp7ks9JLbVKUNzumVn9zOy0CrVlmB3GVj7p77mzJkGuDZqh5CcsK9gs11i/xz5rfuZisqxGDAgMBAAE="}
{"id":"12D3KooW9yLx9GWMoh58Q3eLwnjSDgZ22pNcbULn1rL1B3g5dCCH","privKey":"CAESQF6wIGIGQ5xtPa0aYpASt5nB02lIpyHoKZ/9B7RA3htpAkzZ1fgk6YZabzX9Cx9RMMU6++VHbbJr9eJ7mtgZd9o=","pubKey":"CAESIAJM2dX4JOmGWm81/QsfUTDFOvvlR22ya/Xie5rYGXfa"}
2 changes: 1 addition & 1 deletion examples/network/pingpong/ids/pingpong-listener.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"QmNLstfWyBabHSoCATbjUKyiTkiBbGMRfXKuT2b8Bv62AW","privKey":"CAASqAkwggSkAgEAAoIBAQDfhqItLOHTl6cw9hxWkdHipCtlLk5f2NkE4Suebb6h4WpFR8qafNJ8qJLXGxMaYW50OBeMDdnnsefpYbbC2CNgKUx2AnzZ784AdzeDUTTZDwdePwJSuemx1tlSgbw4KADLP8pYNleuflKyUqzdojpc47Sn1gv6zcYPolz+1aSP0Xl76UoRgdm8Zymzxk+xKyxyBYxgCkYu7RNwkoE7hpOyl7eRGPNG31978NR9vu5XdXri27ez51lHpZq7KBgquONFtfok4eEEF26qIJbcb/4xl73I8eXH+FJGqHgyzSyAp0guHXM8Fg+xuenmY0sNtVBAgFbB6unSJWQMFmnxBNoLAgMBAAECggEBAJOSy5ePvjh4M0W79tGgzDUZthzDCbN18zGph6a9RdKShBrhXv3H0x/CG9Awa9hK4yWPstwgePDjH/2RKZxSHmjqWzS+R7eK/zKHgvsLrhxwM6khaGM9ovBqrGgwhxd8Man+n5TFq/XkKKzasI5TAL07CJaWVqprGIxR4ZvNaSwZIERJCLHafn08aC4GVukXeWMoH0ya+WViKev6sGIq39MUHevnA/itpNrj51Btlqs8FHPaMMHzPSxcjEzBIo5upUKqkl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CNgKUx2AnzZ784AdzeDUTTZDwdePwJSuemx1tlSgbw4KADLP8pYNleuflKyUqzdojpc47Sn1gv6zcYPolz+1aSP0Xl76UoRgdm8Zymzxk+xKyxyBYxgCkYu7RNwkoE7hpOyl7eRGPNG31978NR9vu5XdXri27ez51lHpZq7KBgquONFtfok4eEEF26qIJbcb/4xl73I8eXH+FJGqHgyzSyAp0guHXM8Fg+xuenmY0sNtVBAgFbB6unSJWQMFmnxBNoLAgMBAAE="}
{"id":"12D3KooWRreQ2wg6auezZE2FW5BYaRTW56HH7oPe5EPcwnTDACms","privKey":"CAESQF79dRdiG8tJ5zRBtAU3UMBSOGSPwRzdsgj5pNnOwHb/7lCAtk+OET71pdXNBhOSUQ64O4qdNCwp13M2Ul9VqF4=","pubKey":"CAESIO5QgLZPjhE+9aXVzQYTklEOuDuKnTQsKddzNlJfVahe"}
8 changes: 0 additions & 8 deletions lib/lists.trp
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ let fun map f list =
in partition_aux ([],[]) ls
end

fun contains element list =
case list of
[] => false
| h :: t =>
if h = element then true
else contains element t

fun filter f l = case l of
[] => []
| h :: t => if f h then h :: (filter f t) else filter f t
Expand Down Expand Up @@ -97,7 +90,6 @@ in
, ("append", append)
, ("partition", partition)
, ("nth", nth)
, ("contains", contains)
, ("filter", filter)
, ("first", first)
, ("slice", slice)
Expand Down
1 change: 0 additions & 1 deletion lib/out/lists.exports
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ length
append
partition
nth
contains
filter
first
slice
Expand Down
Loading

0 comments on commit b100e0c

Please sign in to comment.