smullyan 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54c284e10e19e7e4904cf00787a48bd0b0263e36aa570c40140972612dec769e
4
- data.tar.gz: '0275814586bb58cc526675df06aba5c16d088ef8f3b957e811885d6dba8d7bc8'
3
+ metadata.gz: 9728ee75a0e8f7fd5ace7d83955a13ec06cea10ed8c03f76987642553c6cc2a2
4
+ data.tar.gz: f7c282378c225eb4e0095ab0d8e4966d8febd79ce8cd21768db71d7f0817eaa1
5
5
  SHA512:
6
- metadata.gz: 21dfbf121b9a84b114a39c875f5b08fd3a38d37c0b7976facce2782f81cc3bfd585d5028208eb714b46fdd38bdbf19a2f9396c189e64abba162a72235e7af000
7
- data.tar.gz: 30b2c7fac3e4ea3f879bf4ed7781f9e58cb5f502df2409ac2bd2cd609ae89095b0319f31f4d23a474632febb115cf7b79e950ddcd7639300b9a54c16d47bc84a
6
+ metadata.gz: c12f8528406b987b1fe958c20b69bc6cde1df16595c6fe970a5ffeb9e3efffa446091067259d7f43d41c591d8500a1111cfe29d4e7cd5bbc242343c0ec918915
7
+ data.tar.gz: 7ae541538c2145012b8e7dc1177e518fe7db0da38ab7411a928b4031a747bc1f2dce4d99431a1e3ff7c45b2d2033986bf95e7756959c53a8ebac94385329a77d
@@ -0,0 +1,16 @@
1
+ # # frozen_string_literal: true
2
+
3
+ module Smullyan
4
+ module Birds
5
+ # phoenix (or phi) applies takes 4 arguments in total
6
+ # it applies the fourth argument to the 2nd & 3rd, and then
7
+ # applies the results of those to the first
8
+ # phi xyzw = x(yw)(zw)
9
+ Phoenix = B.(B.(S)).(B)
10
+
11
+ Phoenix_direct = ->(x) { ->(y) { ->(z) { ->(w) { x.(y.(w)).(z.(w)) }}}}
12
+
13
+ Phi = Phoenix
14
+ Φ = Phoenix
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Smullyan
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
data/lib/smullyan.rb CHANGED
@@ -13,6 +13,7 @@ require_relative 'smullyan/birds/why'
13
13
  require_relative 'smullyan/birds/lark'
14
14
  require_relative 'smullyan/birds/finch'
15
15
  require_relative 'smullyan/birds/robin'
16
+ require_relative 'smullyan/birds/phoenix'
16
17
  require_relative 'smullyan/configurable_birds'
17
18
 
18
19
  module Smullyan
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smullyan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Crissman
@@ -87,6 +87,7 @@ files:
87
87
  - lib/smullyan/birds/kestrel.rb
88
88
  - lib/smullyan/birds/lark.rb
89
89
  - lib/smullyan/birds/mockingbird.rb
90
+ - lib/smullyan/birds/phoenix.rb
90
91
  - lib/smullyan/birds/robin.rb
91
92
  - lib/smullyan/birds/starling.rb
92
93
  - lib/smullyan/birds/warbler.rb