Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Haskell

Idiom #186 Exit program cleanly

Exit a program cleanly indicating no error to OS

import System.Exit
exitSuccess
#include <stdlib.h>
exit(EXIT_SUCCESS);

New implementation...