RE: GHC ParseTree Module

2011-01-03 Thread Jane Ren
main = do file_content <- readFile targetFile let ast = parse file_content print ast Thanks. From: Malcolm Wallace [[email protected]] Sent: Monday, January 03, 2011 12:44 AM To: Jane Ren; GHC-users List Cc: [email protected] Subject:

Re: GHC ParseTree Module

2011-01-03 Thread Malcolm Wallace
You will be more likely to get an answer on the ghc-users mailing list (cc'ed). The ghc developers rarely follow -cafe. On 1 Jan 2011, at 20:36, Jane Ren wrote: Hi, Does anyone know what GHC module gets the AST and type info of some source code? This is the GHC module that converts all o