Original code:
object Pipeline { def makePipeline[T](functions: (T => T)*): (T => T) = { (arg: T) => { arg } } def main(args: Array[String]) = { println(makePipeline((x: Int) => x * 3, (x: Int) => x + 1, (x: Int) => x / 2)(3)) } }
Dashboard
Start Trial
Sign In
Home
Product
Features
Use Cases
Customers
ROI Calculator
Integrations
Assessments
Tests
Questions
Pricing
Resources
Book: Evidence-Based Hiring
Blog
Support
Contact Us
Legal
For Jobseekers
© TestDome, 2024.