-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hello, I've been trying to run the examples in Flite, but some of them are giving unexpected results. For instance, the Fibonacci one gives the following output:
C:\Users\VitorCBSB\Reduceron\flite>stack exec -- flite examples/Fib.hs
fib(10) =
If I compile it to C and run it, these are the results:
C:\Users\VitorCBSB\Reduceron\flite>stack exec -- flite -c examples/Fib.hs > Fib.c
C:\Users\VitorCBSB\Reduceron\flite>gcc Fib.c -o Fib
C:\Users\VitorCBSB\Reduceron\flite>Fib
fib(10) = ERROR: bottom!
I have also found problems with Taut.hs (empty output) and Countdown.hs (either doesn't stop running or takes a long time). Sudoku.hs, however, apparently works correctly. Have not attempted to run the others yet.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels