[Haskell-cafe] Wikipedia on first-class object
Jonathan Cast
jonathanccast at fastmail.fm
Thu Dec 27 10:52:19 EST 2007
On 27 Dec 2007, at 9:47 AM, Cristian Baboi wrote:
>
>>>>>
>>>>> I don't know. I'm a beginner in Haskell, and I down't know
>>>>> about T.
>>>>> You mean they cannot ?
>>>>> I was under the impression that the purpose of computers cannot
>>>>> be fulfiled if we cannot get the result of computations out of
>>>>> the computers.
>>>>
>>>> Haskell is not a computer programming language; Haskell
>>>> implementations are not required to run on computers. Haskell
>>>> is a formal notation for computation (completely unrelated to
>>>> the Von Neuman machine sitting on your desk). It can be
>>>> implemented on Von Neuman machines, because they are still
>>>> universal Turing machines, but it is /not/ a radical attack on
>>>> the problem of programming peripherals!
>>>
>>> I suppose it can run on pebbles.
>>
>> Any language can be emulated on pebbles; unlike most languages,
>> Haskell can be compiled directly to them.
>>
>> jcc
>
> I know, and in this case one doesn't need IO.
> The result is a nice collection of asorted pebbles.
Which is why Haskell treats IO as a domain specific language.
jcc
More information about the Haskell-Cafe
mailing list