Hi,
 
Is there a way to let hugs show the intermediate expressions in a reduction sequence?
 
There's a module that comes with hugs called "EvalRed.hs" which has functions that do something like this, but it only works for expressions of the type "Term", where

Term = Square Term | Plus Term Term | Times Term Term | Num Int
    
...but what about for any expression? 
 
Sorry if this is a hugs question, you see I just don't know whom to ask.
 
Thanks!
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A M Tabilog
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to