cdepillabout/pretty-simple

pPrint appears to go into an infinite loop

cdepillabout opened this issue · 2 comments

Trying to pretty print the following causes pPrint to appear to go into an infinite loop:

Effect (Identity (Step (1 :> Effect (Identity (Step (2 :> Effect (Identity (Step (1 :> Effect (Identity (Step (3 :> Effect (Identity (Step (2 :> Effect (Identity (Step (1 :> Effect (Identity (Step (4 :> Effect (Identity (Step (3 :> Effect (Identity (Step (2 :> Effect (Identity (Step (1 :> Effect (Identity (Return ()))))))))))))))))))))))))))))))))

Actually, this could just be the function taking too long to run, as shown in #30?

Fixed by #32.