|
|
|
|
|
by AnimalMuppet
2494 days ago
|
|
> There are Turing-complete languages without conditionals, though... > ... giving a straightforward encoding of not only conditionals, but also (one-layer-deep) pattern matching. So you wrote a conditional out of something that didn't have one? But for that to work, something in the "If" has to decide whether to evaluate the first one or the second one. That is, there is something that is equivalent to a conditional somewhere in the parts that you use to build the "If". This may come down to what the definition of "conditional" is, though... |
|