Skip to content

taaare/scala_proficiency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala_proficiency

This is a from scratch implementation of two Scala problems I undertook to better understand the language. I had no prior experience using Scala before this, and thus made extensive use of documentation. I built two files: CruisePricing.scala and PromotionCombinations.scala to test the functional and OOP aspects of the language. It utilizes first-class and higher-order functions, SBT, lambdas, and more functional capabilities.

I also built unit tests to run from the SBT shell. All test cases based on provided data are passed. The main functions work as intended.

To run the main functions, use the following terminal commands in the root dir

sbt
compile
runMain CruisePricing
runMain PromotionCombinations

To run test cases, use the following commands in root dir

sbt
compile
test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages