This repository was archived by the owner on Mar 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 14 files changed +14
-28
lines changed
exercise_000_sudoku_solver_initial_state/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_001_dotty_deprecated_syntax_rewriting/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_002_dotty_new_syntax_and_indentation_based_syntax/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_003_top_level_definitions/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_004_parameter_untupling/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_005_extension_methods/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_006_using_and_summon/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_007_givens/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_008_enum_and_export/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_009_union_types/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_010_opaque_type_aliases/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_011_multiversal_equality/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_020_opaque_type_aliases_alt/src/main/scala/org/lunatechlabs/dotty/sudoku
exercise_021_multiversal_equality/src/main/scala/org/lunatechlabs/dotty/sudoku Expand file tree Collapse file tree 14 files changed +14
-28
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor {
8
7
@@ -49,7 +48,7 @@ object SudokuDetailProcessor {
49
48
}
50
49
}
51
50
52
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
51
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
53
52
context : ActorContext [SudokuDetailProcessor .Command ]) {
54
53
55
54
import ReductionRules .{reductionRuleOne , reductionRuleTwo }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor {
8
7
@@ -49,7 +48,7 @@ object SudokuDetailProcessor {
49
48
}
50
49
}
51
50
52
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
51
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
53
52
context : ActorContext [SudokuDetailProcessor .Command ]) {
54
53
55
54
import ReductionRules .{reductionRuleOne , reductionRuleTwo }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -44,7 +43,7 @@ object SudokuDetailProcessor:
44
43
sender ! BlockUpdate (id, cellUpdates)
45
44
def processorName (id : Int ): String = s " blk-processor- $id"
46
45
47
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
46
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
48
47
context : ActorContext [SudokuDetailProcessor .Command ]):
49
48
50
49
import ReductionRules .{reductionRuleOne , reductionRuleTwo }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -47,7 +46,7 @@ object SudokuDetailProcessor:
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
}
49
48
50
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
49
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
51
50
context : ActorContext [SudokuDetailProcessor .Command ]):
52
51
53
52
import ReductionRules .{reductionRuleOne , reductionRuleTwo }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -47,7 +46,7 @@ object SudokuDetailProcessor:
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
}
49
48
50
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
49
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
51
50
context : ActorContext [SudokuDetailProcessor .Command ]):
52
51
53
52
import ReductionRules .{reductionRuleOne , reductionRuleTwo }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -47,7 +46,7 @@ object SudokuDetailProcessor:
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
}
49
48
50
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
49
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
51
50
context : ActorContext [SudokuDetailProcessor .Command ]):
52
51
53
52
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -47,7 +46,7 @@ object SudokuDetailProcessor:
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
}
49
48
50
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
49
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
51
50
context : ActorContext [SudokuDetailProcessor .Command ]):
52
51
53
52
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -44,7 +43,7 @@ object SudokuDetailProcessor:
44
43
sender ! BlockUpdate (id, cellUpdates)
45
44
def processorName (id : Int ): String = s " blk-processor- $id"
46
45
47
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
46
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
48
47
context : ActorContext [SudokuDetailProcessor .Command ]):
49
48
50
49
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -46,7 +45,7 @@ object SudokuDetailProcessor:
46
45
sender ! BlockUpdate (id, cellUpdates)
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
49
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
48
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
50
49
context : ActorContext [SudokuDetailProcessor .Command ]):
51
50
52
51
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -46,7 +45,7 @@ object SudokuDetailProcessor:
46
45
sender ! BlockUpdate (id, cellUpdates)
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
49
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
48
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
50
49
context : ActorContext [SudokuDetailProcessor .Command ]):
51
50
52
51
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -46,7 +45,7 @@ object SudokuDetailProcessor:
46
45
sender ! BlockUpdate (id, cellUpdates)
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
49
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
48
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
50
49
context : ActorContext [SudokuDetailProcessor .Command ]):
51
50
52
51
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -48,7 +47,7 @@ object SudokuDetailProcessor:
48
47
sender ! BlockUpdate (id, cellUpdates)
49
48
def processorName (id : Int ): String = s " blk-processor- $id"
50
49
51
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
50
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
52
51
context : ActorContext [SudokuDetailProcessor .Command ]):
53
52
54
53
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -46,7 +45,7 @@ object SudokuDetailProcessor:
46
45
sender ! BlockUpdate (id, cellUpdates)
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
49
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
48
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
50
49
context : ActorContext [SudokuDetailProcessor .Command ]):
51
50
52
51
import SudokuDetailProcessor .*
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package org.lunatechlabs.dotty.sudoku
2
2
3
3
import akka .actor .typed .scaladsl .{ActorContext , Behaviors }
4
4
import akka .actor .typed .{ActorRef , Behavior }
5
- import org .lunatechlabs .dotty .sudoku .SudokuDetailProcessor .UpdateSender
6
5
7
6
object SudokuDetailProcessor :
8
7
@@ -46,7 +45,7 @@ object SudokuDetailProcessor:
46
45
sender ! BlockUpdate (id, cellUpdates)
47
46
def processorName (id : Int ): String = s " blk-processor- $id"
48
47
49
- class SudokuDetailProcessor [DetailType <: SudokuDetailType : UpdateSender ] private (
48
+ class SudokuDetailProcessor [DetailType <: SudokuDetailType : SudokuDetailProcessor . UpdateSender ] private (
50
49
context : ActorContext [SudokuDetailProcessor .Command ]):
51
50
52
51
import SudokuDetailProcessor .*
You can’t perform that action at this time.
0 commit comments