Skip to content

abdheshkumar/scala-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala code examples

This repository has my learning scala examples

  • Case class
  • Companion Object
  • CSV Writer
  • Fibonacci number
  • Currying Function
  • FizzBuzz
  • Array
  • Closure
  • Partial Function
  • Enum
  • Function Literal
  • Higher-order function
  • Pattern Matching
  • Pattern Matching as function
  • Tail Recursion
  • Write Controls
  • Exception Handling
  • Functional way of handling An exception
  • Filter List[Any] using flatMap and filter
  • Use of Wildcard
  • Sealed trait
  • Lazy Evaluation
  • Looping using for,foreach and for-expression
  • Option's fold
  • Default Parameters
  • Variable Length Argument
  • Partial Applied function
  • Scala's Range
  • Use of conditional operator
  • Sequence e.g List, Seq
  • Single Responsibility
  • Strategy Pattern
  • String Interpolation
  • Pattern Matching in Regex
  • Functional Programming Red Cover book's example

About

Scala code examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published