0 Replies - 267 Views - Last Post: 26 September 2009 - 09:10 AM

#1 Jaakuuta   User is offline

  • D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 163
  • Joined: 02-July 09

[Scheme] Partial Application Combinator

Posted 26 September 2009 - 09:10 AM

Description: Double-layered function that has to be applied to two arguments in succession. Can be used either to generate a function for use later, or can be used to generate a function to be used immediately.Generates a partially completed function that can be used to apply some functionality to other arguments
(define par
  (lambda (f x)
    (lambda (y)
      (f x y))))

Is This A Good Question/Topic? 0
  • +

Page 1 of 1