All Questions
7 questions
1
vote
0
answers
44
views
Relational join of two datasets
Front Matter
I'm learning Scala and have not gotten used to functional programming and the language. I'm hoping a review of my naively implemented code can help me bridge my object-oriented ways to ...
-1
votes
1
answer
71
views
Perform KS-test on Random Number Generator [closed]
I've just started practicing Functional Programming in Scala in some days. This is the code I used to perform KS-test on a random number generator.
...
4
votes
2
answers
118
views
Find the minimum number of operations (concat, add and subtract) for the numbers 1-9 to equal 100
I am beginning to learn Scala and functional programming, and I came across this puzzle.
This looked like good practice and I have a solution but just want some hints in terms of functional approach ...
11
votes
2
answers
187
views
Test runner for Scala problems
I'm learning Scala and could use another set of eyes on the code below. I'm creating a test runner for the 99 scala problems set. I figure between actually solving the problems and working through the ...
5
votes
3
answers
134
views
Generating a game board with squares in a rectangle
I am trying to generate a game board (similar to a Monopoly board). I am new to Scala and am thinking that there may be a better way to do this. But improvements to the code are also welcome.
...
8
votes
1
answer
4k
views
Binary search in functional-style Scala
Curious to know how I can improve it, especially the pattern matching part seems a bit repetitive at the moment (lots of case x if ds(x))
...
5
votes
2
answers
162
views
Beginner Project: Bunny City
I am a Java programmer, and I just recently started learning Scala for fun. I found a group of projects here, and I tried to do the graduation excercise. The problem is, my code looks a lot like java, ...