[Haskell-cafe] Segmentation fault with realdine library

Maurí­cio briqueabraque at yahoo.com
Mon Oct 23 18:18:12 EDT 2006


   Hi,

   This small program says "Segmentation fault":

module Main (Main.main) where
import Data.Char
import System.Time
import System.Console.Readline
main :: IO ()
main = do
     readKey
     return ()

   I don't understand anything about readline, so I probably should have 
to call some function before readKey (by they way, I don't know what 
readKey does). But I thought a segmentation fault is always something to 
be reported.

   Best,
   Maurício



More information about the Haskell-Cafe mailing list