Home
Random
Log in
Settings
About Rosetta Code
Disclaimers
Rosetta Code
Search
Twelve statements: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Twelve statements
(view source)
Revision as of 08:52, 9 October 2012
19 bytes added
,
11 years ago
Simpler D entry
Revision as of 13:22, 8 October 2012
(
view source
)
rosettacode>Trap D
(
→{{header|Python}}
)
← Older edit
Revision as of 08:52, 9 October 2012
(
view source
)
rosettacode>Bearophile
(Simpler D entry)
Newer edit →
Line 244:
}
foreach (
stm
sols, isPartial
;
zip([
full
, partial], [false, true])
)
show
foreach
(stm
.tupleof,
;
false
sols
)
;
foreach
show
(stm
;
.tupleof,
partial
isPartial
)
;
show(stm.tupleof, true);
}</lang>
{{out}}
Anonymous user
rosettacode>Bearophile