Skip to content

Commit

Permalink
Merge pull request #29 from scala-exercises/js-change-aux-folder-name
Browse files Browse the repository at this point in the history
Renaming the aux directory to avoid issues with Windows developers
  • Loading branch information
Javier de Silóniz Sandino authored Jan 17, 2018
2 parents 40dade1 + 4515041 commit 4b81c24
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package scalatutorial.sections

import scalatutorial.aux.{BankAccount, Note}
import scalatutorial.utils.{BankAccount, Note}

/** @param name classes_vs_case_classes */
object ClassesVsCaseClasses extends ScalaTutorialSection {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package scalatutorial.sections

import scalatutorial.aux.BankAccount
import scalatutorial.utils.BankAccount

/** @param name imperative_programming */
object ImperativeProgramming extends ScalaTutorialSection {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package scalatutorial.sections

import scalatutorial.aux.{Empty, IntSet, NonEmpty}
import scalatutorial.utils.{Empty, IntSet, NonEmpty}

/** @param name object_oriented_programming */
object ObjectOrientedProgramming extends ScalaTutorialSection {
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/scalatutorial/sections/TypeClasses.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

package scalatutorial.sections

import scalatutorial.aux.Rational
import scalatutorial.aux.Sorting.insertionSort
import scalatutorial.utils.Rational
import scalatutorial.utils.Sorting.insertionSort

/** @param name type_classes */
object TypeClasses extends ScalaTutorialSection {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

class BankAccount {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

abstract class IntSet {
def incl(x: Int): IntSet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

case class Note(name: String, duration: String, octave: Int)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

class Rational(x: Int, y: Int) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

trait Animal {
def fitness: Int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

object Sorting {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import org.scalatest.Spec
import org.scalatest.prop.Checkers
import shapeless.HNil

import scalatutorial.aux.Rational
import scalatutorial.utils.Rational

class TypeClassesSpec extends Spec with Checkers {

Expand Down

0 comments on commit 4b81c24

Please sign in to comment.