• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Function calling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Function calling


  • Subject: Re: Function calling
  • From: Thomas Davie <email@hidden>
  • Date: Thu, 26 May 2005 02:54:53 +0100

With a sufficiently intelligent type system, like Haskell's, you will have a type that describes a "list of objects that implement intValue", which can be verified at compile time.


Just tell me the principle on which this *could* work in *any* langauge, given that the fact "object X implements message Y" can change runtime!


I don't need to study Haskell or whatever, since this is plain logic 101: (a) either you forbid the possibility to change the set of implemented messages at runtime (which would be quite bad and limiting), or
This is not the point Bob is making, the point in that it is not restrictive to impose the constraint.

If you can give me an example (preferably likely to be used) where this is restrictive, please show me it.

Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Function calling
      • From: Chris Hanson <email@hidden>
References: 
 >Function calling (From: "Theodore H. Smith" <email@hidden>)
 >Re: Function calling (From: Ondra Cada <email@hidden>)
 >Re: Function calling (From: Thomas Davie <email@hidden>)
 >Re: Function calling (From: Bob Ippolito <email@hidden>)
 >Re: Function calling (From: Thomas Davie <email@hidden>)
 >Re: Function calling (From: Ondra Cada <email@hidden>)
 >Re: Function calling (From: Bob Ippolito <email@hidden>)
 >Re: Function calling (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Function calling
  • Next by Date: Re: Function calling
  • Previous by thread: Re: Function calling
  • Next by thread: Re: Function calling
  • Index(es):
    • Date
    • Thread