garepinoh- reverse prefix notation calculator and calculation library

Safe HaskellNone




genMain :: (Read t, Show t) => Prelude t -> IO ()Source

A general main function which behaves just like the garepinoh executable, but depending on a Prelude.

In fact, the main function of the executable garepinoh is just

 main = genMain floatingPrelude

whereas the main function of garepiboh is:

 main = genMain boolPrelude