Layout processing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Layout processing

Maurí­cio
   Hi,

   Is it possible to ask GHC or other Haskell compiler to generate a
Haskell source file just after the processing of layout? I.e., I would
like to see this:

main = do
        a <- some_function

   Transformed into this:

main = do {a <- some_function;

   I thought that would be usefull to understand better how layout works.

   Thanks,
   Maurício

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe