Python Forum
an error --> a wanted feature
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
an error --> a wanted feature
#5
(Nov-22-2017, 04:32 PM)heiner55 Wrote: What is the name of the programming language which can do: x*x = y

it couldn't actually do that ... but the debate was that since * was workable as a function, that is, you defined a function for each operator in type definitions for new programmer defined types, the existing definition of int and float (as we call them in python) should support __multiply__(x,x) = y so that x*x = y would work.  the existing implementations of the base types apparently were not in the language itself, but were part of the language interpreter

i cannot remember the name of the language.  something makes me think it was PCL or CLU.  it could have been ProLog (as micseydel hinted).  it had a discussion mailing list around 1984.  i didn't have access to a working deployment.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
an error --> a wanted feature - by Skaperen - Nov-21-2017, 05:03 AM
RE: an error --> a wanted feature - by heiner55 - Nov-22-2017, 04:32 PM
RE: an error --> a wanted feature - by Skaperen - Nov-23-2017, 03:04 AM
RE: an error --> a wanted feature - by micseydel - Nov-22-2017, 04:46 PM
RE: an error --> a wanted feature - by heiner55 - Nov-22-2017, 04:56 PM
RE: an error --> a wanted feature - by heiner55 - Nov-23-2017, 06:19 AM
RE: an error --> a wanted feature - by wavic - Nov-23-2017, 09:18 AM
RE: an error --> a wanted feature - by Skaperen - Nov-24-2017, 01:43 AM
RE: an error --> a wanted feature - by micseydel - Nov-23-2017, 04:51 PM
RE: an error --> a wanted feature - by nilamo - Jan-04-2018, 07:19 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020