Skip to content
Iconmaster edited this page May 12, 2018 · 4 revisions

Welcome to the Ithaca wiki!

Current Considerations

  • Should we have multiple returns?
    • Pros: Functions can return a "primary" argument and hide away others until needed, potential opportunities for optimization (as opposed to copying lists around), more expressive power in general
    • Cons: Getting more than 1 arg at a time can be a pain, complicates the definition of a bunch of stuff, handling 0-arg returns is annoying, special syntax just for returning multiple values
  • Should we have call/cc (rather than just an exception system for non-local flow control)?
    • Pros: Powerful and expressive
    • Cons: Involves copying the entire stack in most cases (an expensive operation!)
Clone this wiki locally