Old lady swallowed a fly: Difference between revisions

Content added Content deleted
(Updated first D entry)
Line 288: Line 288:
=={{header|D}}==
=={{header|D}}==
{{trans|C}}
{{trans|C}}
<lang d>import core.stdc.stdio: putchar;
<lang d>import core.stdc.stdio;


immutable data = [
immutable data = [
Line 301: Line 301:
"low","he_gthe"];
"low","he_gthe"];


bool oldLady(in string part, bool s=false) nothrow {
bool oldLady(in string part, bool s=false) nothrow @nogc {
foreach (immutable ch; part) {
foreach (immutable ch; part) {
if (s)
if (s)