Skip to content

Instantly share code, notes, and snippets.

View ra312's full-sized avatar
🎯
Focusing

ra312 ra312

🎯
Focusing
View GitHub Profile
@ra312
ra312 / s4di_ch01_exercises.sc
Created June 18, 2019 09:13 — forked from parambirs/s4di_ch01_exercises.sc
Solutions for "Scala for the Impatient", chapter 1 exercises
package src.exercises
import scala.math._
import BigInt.probablePrime
import util.Random
object chap01 {
// 1. In the Scala REPL, type 3. followed by the Tab key. What methods can be
// applied?
// => Do it in REPL. There are many methods including %, &, *, +, toByte, toChar etc.