You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The C code for this program results in memory error.
data Recursive = Constructor (Recursive) (Int) (Int) | Nil
mkFoo :: Int -> Recursive
mkFoo len = if len <= 0
then Nil
else
let rst = mkFoo (len-1)
in Constructor rst 10 len
gibbon_main =
let lst = mkFoo 1000
_ = printPacked lst
in ()
The text was updated successfully, but these errors were encountered:
The C code for this program results in memory error.
The text was updated successfully, but these errors were encountered: