From Esolang
Jump to navigation Jump to search

Inconsistencies in the description and sample programs

Based on the second example, I can see that there is parameter passing for a (probably-is) function:

factorio n = if n == 0 then 1 else n * (factorio (n - 1))

In this sample the variable n is set to the value of readLn, and then the values are accessed in this body: if n == 0. You can't possibly compare values without accessing them. àÂse ëË y± comme×s! (Please sign your comments!) A (taÑ) 02:16, 3 August 2019 (UTC) 13:57, 2 December 2019 (UTC)

The example program is Haskell code, and the given interpreter uses GHC to execute it as Haskell code. --Zzo38 (talk) 07:05, 3 December 2019 (UTC)


From the information given, I suppose that it is a (not necessarily proper) subset of Haskell. --Zzo38 (talk) 07:05, 3 December 2019 (UTC)