haskell-infra / hl

Haskell web site (old -- see new repo at https://github.com/haskell-infra/www.haskell.org)
http://haskell.org/
BSD 3-Clause "New" or "Revised" License
158 stars 92 forks source link

Timeouts and strange results in Try it! REPL #207

Closed ccressent closed 6 years ago

ccressent commented 7 years ago

Playing with the "Try it!" REPL on https://www.haskell.org/:

λ putStrLn "Hello"
mueval-core: Time limit exceeded
ExitFailure 1
λ print 5
p
λ print 5
mueval-core: Time limit exceeded
ExitFailure 1
λ print (Just 5)
p
λ print (Just 5)
ru
λ print (Just 5)
Just 5

From my (limited) testing, it seems to only happen with expressions involving IO. After an expression is successfully evaluated it just starts working without timeouts, as if the result had been cached.

mjhoy commented 6 years ago

I get this for simple math expressions too, e.g.

λ 23 * 70
mueval-core: Time limit exceeded
ExitFailure 1
gbaz commented 6 years ago

cf: https://github.com/tryhaskell/tryhaskell/issues/46 and https://github.com/tryhaskell/tryhaskell/issues/45

gbaz commented 6 years ago

ok should be closed as per those tickets