Halt and catch fire: Difference between revisions

Added XPL0 example.
(Added Haskell solution.)
(Added XPL0 example.)
Line 386:
{XBS}: CodeError: Crashed
</pre>
 
=={{header|XPL0}}==
This overflows the stack. It gives a "Segmentation fault" under Raspberry
Pi OS, and just hangs (in some cases such that Ctrl+Alt+Del doesn't even
work) under MS-DOS.
<lang XPL0>proc Recurse; Recurse; Recurse</lang>
 
=={{header|Z80 Assembly}}==
772

edits