Modifying Class Object

Benjamin Kaplan benjamin.kaplan at case.edu
Sat Feb 13 19:56:16 EST 2010


On Sat, Feb 13, 2010 at 7:50 PM, Alf P. Steinbach <alfps at start.no> wrote:
>
> At this point consider whether it's possible to implement Pascal in Haskell.
>
> If it is possible, then you have a problem wrt. drawing conclusions about
> pointers in Pascal, uh oh, they apparently can't exist.
>
> But if it is not possible to implement Pascal in Haskell, then Haskell must
> be some etremely limited special-purpose language, not Turing complete  --
>  is that acceptable to you?
> <quote>
>

You're actually just proving his point here. It doesn't matter what
model Haskell uses, a version of Pascal implemented in Haskell has
pointers. Likewise, regardless of what model the implementation of
Python uses, Python itself doesn't have pointers, it has objects and
names.



More information about the Python-list mailing list