Skip to content

Deduplicate - Church numerals #142

@hobovsky

Description

@hobovsky

From wiki list of duplicates.

  1. Church numbers
  • 4 kyu
  • Requested operations are add, mul, pow. Numbers are two-argument uncurried functions. Provides some helpers to convert between Church and int.
  • 94% with 170+ completions
  • 1 pending issue
  • 1 language (JS), 1 pending translation (C++)
  • Published Nov 2014, author active
  1. Church numbers (ii)
  • 3 kyu
  • Same as 1., but operations are pred sub compareTo div mod
  • 84% with ~100 completions
  • 2 pending issues
  • 1 language (JS)
  • Published Nov 2014, author the same as for kata 1.
  1. Church numbers
  • 4 kyu
  • Requested operations are add mul pow. Provides zero, one, and succ. Uses normal, curried functions.
  • 94% with ~360 completions
  • No pending issues
  • 4 languages
  • Published Nov 2014, author active
  1. Church Numbers - Add, Multiply, Exponents
  • 3 kyu
  • Requested operations are add mul pow. Provides zero, succ, and functions to convert Church <=> int. Solution is spoiled by the description.
  • 81% with 1k completions
  • No pending issues
  • 3 languages
  • Published Aug 2015, author active
  1. Church numbers: find the predecessor and subtract
  • 4 kyu
  • Requested operations are pred sub. Provides zero, one, and succ. Uses normal, curried functions.
  • 92% with ~200 completions
  • 1 pending issue
  • 4 languages
  • Published Nov 2014, author the same as for kata 3.

Conclusion

Filling gaps

  • Move approved Python translation form 4. to 3.
  • Move pending C++ translation from 1. to 3.

Metadata

Metadata

Assignees

Labels

discussion/deduplicateDiscussion and vote what to do with duplicate kata

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions