diff --git a/core/src/main/scala/arithmetic/AlgebraicSimplification.scala b/core/src/main/scala/arithmetic/AlgebraicSimplification.scala index 33754a3..9db2d92 100644 --- a/core/src/main/scala/arithmetic/AlgebraicSimplification.scala +++ b/core/src/main/scala/arithmetic/AlgebraicSimplification.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object AlgebraicSimplification { diff --git a/core/src/main/scala/arithmetic/All.scala b/core/src/main/scala/arithmetic/All.scala index 6c66304..ba01b4b 100644 --- a/core/src/main/scala/arithmetic/All.scala +++ b/core/src/main/scala/arithmetic/All.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic // All optimizations: diff --git a/core/src/main/scala/arithmetic/BasicStack.scala b/core/src/main/scala/arithmetic/BasicStack.scala index a1cbd07..2a1b44b 100644 --- a/core/src/main/scala/arithmetic/BasicStack.scala +++ b/core/src/main/scala/arithmetic/BasicStack.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object BasicStack { diff --git a/core/src/main/scala/arithmetic/ByteCode.scala b/core/src/main/scala/arithmetic/ByteCode.scala index 73d8706..4a203f2 100644 --- a/core/src/main/scala/arithmetic/ByteCode.scala +++ b/core/src/main/scala/arithmetic/ByteCode.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object ByteCode { diff --git a/core/src/main/scala/arithmetic/Compiled.scala b/core/src/main/scala/arithmetic/Compiled.scala index ccb4b33..3b49d02 100644 --- a/core/src/main/scala/arithmetic/Compiled.scala +++ b/core/src/main/scala/arithmetic/Compiled.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic trait Compiled[P] { diff --git a/core/src/main/scala/arithmetic/Expression.scala b/core/src/main/scala/arithmetic/Expression.scala index d5237bd..a1659fd 100644 --- a/core/src/main/scala/arithmetic/Expression.scala +++ b/core/src/main/scala/arithmetic/Expression.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic trait Expression[E <: Expression[E]] { diff --git a/core/src/main/scala/arithmetic/OptimizedStack.scala b/core/src/main/scala/arithmetic/OptimizedStack.scala index e3d064f..5cbd536 100644 --- a/core/src/main/scala/arithmetic/OptimizedStack.scala +++ b/core/src/main/scala/arithmetic/OptimizedStack.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object OptimizedStack { diff --git a/core/src/main/scala/arithmetic/OptimizedStack2.scala b/core/src/main/scala/arithmetic/OptimizedStack2.scala index b1c2aa4..7be081b 100644 --- a/core/src/main/scala/arithmetic/OptimizedStack2.scala +++ b/core/src/main/scala/arithmetic/OptimizedStack2.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object OptimizedStack2 { diff --git a/core/src/main/scala/arithmetic/OptimizedStack3.scala b/core/src/main/scala/arithmetic/OptimizedStack3.scala index acac8a1..14e1331 100644 --- a/core/src/main/scala/arithmetic/OptimizedStack3.scala +++ b/core/src/main/scala/arithmetic/OptimizedStack3.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object OptimizedStack3 { diff --git a/core/src/main/scala/arithmetic/StackCaching.scala b/core/src/main/scala/arithmetic/StackCaching.scala index 8b7f7da..2a8f7c3 100644 --- a/core/src/main/scala/arithmetic/StackCaching.scala +++ b/core/src/main/scala/arithmetic/StackCaching.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object StackCaching { diff --git a/core/src/main/scala/arithmetic/StructuralRecursion.scala b/core/src/main/scala/arithmetic/StructuralRecursion.scala index 649412c..12fdb51 100644 --- a/core/src/main/scala/arithmetic/StructuralRecursion.scala +++ b/core/src/main/scala/arithmetic/StructuralRecursion.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object StructuralRecursion { diff --git a/core/src/main/scala/arithmetic/SuperInstruction.scala b/core/src/main/scala/arithmetic/SuperInstruction.scala index 723b03d..c9e7c3b 100644 --- a/core/src/main/scala/arithmetic/SuperInstruction.scala +++ b/core/src/main/scala/arithmetic/SuperInstruction.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic object SuperInstruction { diff --git a/core/src/test/scala/arithmetic/AllSuite.scala b/core/src/test/scala/arithmetic/AllSuite.scala index 4c0e17c..cc05bbe 100644 --- a/core/src/test/scala/arithmetic/AllSuite.scala +++ b/core/src/test/scala/arithmetic/AllSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class AllSuite extends ArithmeticSuite(All.Expression) diff --git a/core/src/test/scala/arithmetic/ArithmeticSuite.scala b/core/src/test/scala/arithmetic/ArithmeticSuite.scala index 156b59e..7896484 100644 --- a/core/src/test/scala/arithmetic/ArithmeticSuite.scala +++ b/core/src/test/scala/arithmetic/ArithmeticSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic import munit.FunSuite diff --git a/core/src/test/scala/arithmetic/BasicStackSuite.scala b/core/src/test/scala/arithmetic/BasicStackSuite.scala index 243949a..a8c1bde 100644 --- a/core/src/test/scala/arithmetic/BasicStackSuite.scala +++ b/core/src/test/scala/arithmetic/BasicStackSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class BasicStackSuite extends ArithmeticSuite(BasicStack.Expression) diff --git a/core/src/test/scala/arithmetic/ByteCodeSuite.scala b/core/src/test/scala/arithmetic/ByteCodeSuite.scala index ae9e590..394b21e 100644 --- a/core/src/test/scala/arithmetic/ByteCodeSuite.scala +++ b/core/src/test/scala/arithmetic/ByteCodeSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class ByteCodeSuite extends ArithmeticSuite(ByteCode.Expression) diff --git a/core/src/test/scala/arithmetic/OptimizedStack2Suite.scala b/core/src/test/scala/arithmetic/OptimizedStack2Suite.scala index 76dbb5e..6425556 100644 --- a/core/src/test/scala/arithmetic/OptimizedStack2Suite.scala +++ b/core/src/test/scala/arithmetic/OptimizedStack2Suite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class OptimizedStack2Suite extends ArithmeticSuite(OptimizedStack2.Expression) diff --git a/core/src/test/scala/arithmetic/OptimizedStackSuite.scala b/core/src/test/scala/arithmetic/OptimizedStackSuite.scala index 6b187e5..333a850 100644 --- a/core/src/test/scala/arithmetic/OptimizedStackSuite.scala +++ b/core/src/test/scala/arithmetic/OptimizedStackSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class OptimizedStackSuite extends ArithmeticSuite(OptimizedStack.Expression) diff --git a/core/src/test/scala/arithmetic/StackCachingSuite.scala b/core/src/test/scala/arithmetic/StackCachingSuite.scala index 9ed6b4a..3afa51a 100644 --- a/core/src/test/scala/arithmetic/StackCachingSuite.scala +++ b/core/src/test/scala/arithmetic/StackCachingSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class StackCachingSuite extends ArithmeticSuite(StackCaching.Expression) diff --git a/core/src/test/scala/arithmetic/StructuralRecursionSuite.scala b/core/src/test/scala/arithmetic/StructuralRecursionSuite.scala index fae84d2..4fa2d55 100644 --- a/core/src/test/scala/arithmetic/StructuralRecursionSuite.scala +++ b/core/src/test/scala/arithmetic/StructuralRecursionSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class StructuralRecursionSuite diff --git a/core/src/test/scala/arithmetic/SuperInstructionSuite.scala b/core/src/test/scala/arithmetic/SuperInstructionSuite.scala index 0822f54..7fab9d4 100644 --- a/core/src/test/scala/arithmetic/SuperInstructionSuite.scala +++ b/core/src/test/scala/arithmetic/SuperInstructionSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2023 Scala with Cats + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package arithmetic class SuperInstructionSuite extends ArithmeticSuite(SuperInstruction.Expression)