Skip to main content

Questions tagged [combinatory-logic]

For challenges pertaining to Combinatory Logic model of computing.

Filter by
Sorted by
Tagged with
4 votes
8 answers
1k views

Objective Given an expression involving ternary values, evaluate it into a ternary value. Ternary Values The three truth values in question are the values of Haskell's ...
Dannyu NDos's user avatar
  • 7,381
18 votes
2 answers
1k views

The Challenge Create an terminating expression in SKI Combinator Calculus in less than 200 combinators (S, K, I) that reduces to the expression with the most combinators. There will be no limit on how ...
nph's user avatar
  • 763
5 votes
1 answer
435 views

This includes tips for all related derivatives, as coding in these langs often primarily consists of writing the function in the lambda calculus and then compiling it down at the end. Among others, ...
AviFS's user avatar
  • 2,211
12 votes
2 answers
2k views

Background SKI combinator calculus, or simply SKI calculus, is a system similar to lambda calculus, except that SKI calculus uses a small set of combinators, namely ...
Bubbler's user avatar
  • 79.3k
7 votes
4 answers
353 views

Background Supplementary reading 1, Supplementary reading 2 Linear lambda calculus is a limited form of lambda calculus, where every bound variable must be used exactly once. For example, ...
Bubbler's user avatar
  • 79.3k
17 votes
2 answers
1k views

Background Lambda calculus is a model of computation using lambda terms. A variable \$x\$ is a lambda term. If \$E\$ is a lambda term, the lambda abstraction \$\lambda x. E\$ is a lambda term. If \$...
Bubbler's user avatar
  • 79.3k
15 votes
10 answers
1k views

Background Combinatory logic is a system where a term is written using a finite set of combinators and function application between terms, and reduction rules are defined for each combinator. The well-...
Bubbler's user avatar
  • 79.3k
18 votes
2 answers
497 views

Background Combinatory logic is a system where a term is written using a finite set of combinators and function application between terms, and reduction rules are defined for each combinator. The well-...
Bubbler's user avatar
  • 79.3k
14 votes
2 answers
560 views

Imagine a simple SKI calculus expression - for example, (((S α) β) γ). As you can see, each node of the rooted tree has exactly two children. Sometimes though, the ...
Kamila Szewczyk's user avatar
15 votes
13 answers
3k views

This challenge is to golf an implementation of SKI formal combinator calculus. Definition Terms S, K, and ...
nph's user avatar
  • 1,446
20 votes
4 answers
3k views

Background SKI combinator calculus, or simply SKI calculus, is a system similar to lambda calculus, except that SKI calculus uses a small set of combinators, namely ...
Bubbler's user avatar
  • 79.3k
42 votes
3 answers
2k views

Well I think it is about time we have another proof-golf question. This time we are going to prove the well known logical truth \$(A \rightarrow B) \rightarrow (\neg B \rightarrow \neg A)\$ To do ...
Wheat Wizard's user avatar
  • 103k
22 votes
1 answer
2k views

The λ-calculus, or lambda calculus, is a logical system based on anonymous functions. For example, this a λ-expression: λf.(λx.xx)(λx.f(xx)) However, for the ...
Esolanging Fruit's user avatar
13 votes
3 answers
955 views

Introduction: Combinatory Logic Combinatory logic (CL) is based off of things called combinators, which are basically functions. There are two basic "built-in" combinators, ...
clismique's user avatar
  • 7,000
25 votes
4 answers
2k views

The SKI calculus is a variant of the Lambda calculus that doesn't use lambda expressions. Instead, only application and the combinators S, K, and I are used. In this challenge, your task is to ...
FUZxxl's user avatar
  • 10.2k
14 votes
2 answers
814 views

Background You have just learned what combinatory logic is. Intrigued by the various combinators you spend quite a bit of time learning about them. You finally stumble upon this particular expression:...
ThreeFx's user avatar
  • 1,505
9 votes
5 answers
437 views

The Haskell function biSp has type signature ...
dspyz's user avatar
  • 943