How to control the visibility of Scala constructor fields
How to control the visibility of Scala constructor fields By Alvin Alexander. Last updated: October 9 2016 This is an excerpt from the Scala Cookbook (partially modified for the internet). This is...
View ArticleHow to provide default values for Scala constructor parameters
How to provide default values for Scala constructor parameters By Alvin Alexander. Last updated: April 1 2018 This is an excerpt from the Scala Cookbook (partially modified for the internet). This is...
View ArticleHow to declare constructor parameters when extending a Scala class
How to declare constructor parameters when extending a Scala class By Alvin Alexander. Last updated: October 9 2016 This is an excerpt from the Scala Cookbook (partially modified for the internet)....
View ArticleHow to access command-line arguments in Scala shell scripts
How to access command-line arguments in Scala shell scripts By Alvin Alexander. Last updated: August 28 2019 This is an excerpt from the Scala Cookbook (partially modified for the internet). This is...
View ArticleHow to use Scala varargs fields from Java (varargs annotation)
How to use Scala varargs fields from Java (varargs annotation) alvin June 20, 2015 - 7:08pm Read more about How to use Scala varargs fields from Java (varargs annotation)Log in to post comments This is...
View ArticleApplying arguments to functions (currying)
Applying arguments to functions (currying) alvin August 8, 2015 - 11:04am Read more about Applying arguments to functions (currying) I wish I had known more about Haskell and its influence on Scala...
View ArticleHow to use command line arguments in Haskell
How to use command line arguments in Haskell By Alvin Alexander. Last updated: June 10 2017 As a quick note to self, this source code from the online version of Learn You a Haskell shows how to read...
View ArticleSBT: How to pass command line arguments to ‘sbt run’
SBT: How to pass command line arguments to ‘sbt run’ alvin August 17, 2017 - 11:30am Read more about SBT: How to pass command line arguments to ‘sbt run’Log in to post comments Question: How do I pass...
View ArticleA Scala shell script to read HTML H1 tag attributes
A Scala shell script to read HTML H1 tag attributes By Alvin Alexander. Last updated: February 16 2019 I’m putting this Scala shell script out here as a “source code snippet” so I can find it again if...
View ArticleDefinitions of scalac compiler options
Definitions of scalac compiler options alvin May 13, 2018 - 5:56pm Read more about Definitions of scalac compiler options If you ever need definitions of scalac compiler options (up to Scala 2.12.2),...
View Article
More Pages to Explore .....