ACM SIGPLAN – ICFP/SPLASH 2025 | The Scala Workshop 2025 | Marina Bay Sands, Singapore
Presented by: Shrikha Mahanty (IIT Mandi)
Co-authors: Shiv Kiran Bagathi (IIT Bombay),
Dasari Gnana Heemmanshuu (IIT Bombay),
Dr. Manas Thakur (IIT Bombay)
Functional Refactoring Suggestions for Scala
Demo
• Demonstrate loop and conditional refactoring.
• Highlight safe .par inference.
• 1–2 examples only.
1
When Scala
reads like Java
1
2
Lost Functional Benefits
Declarative Code Safe parallelization
Immutability Conciseness
3
Our Goal
4
Example 1
Sequential
Parallel
5
Example 2
Original Refactor Suggestion
Demo
• Demonstrate loop and conditional refactoring.
• Highlight safe .par inference.
• 1–2 examples only.
1
6
ScalaF
Image
Scan to Install
ScalaF VSCode Plugin
Connect & Access
Thank you for joining us at ICFP/SPLASH 2025 – The Scala Workshop, Singapore
7
8
Evaluation
9
What’s next in line :)
ScalaF: Functional Refactoring and Automated Code Transformations

ScalaF: Functional Refactoring and Automated Code Transformations