Skip to content

Commit

Permalink
Rewrite all remaining package declarations.
Browse files Browse the repository at this point in the history
We are all spire residents now.
  • Loading branch information
paulp committed Nov 5, 2015
1 parent 5c3e91e commit c621c1c
Show file tree
Hide file tree
Showing 145 changed files with 292 additions and 147 deletions.
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import org.openjdk.jmh.annotations._
import spire.math.Complex
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import org.openjdk.jmh.annotations.{Scope, Setup, State}

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import org.openjdk.jmh.annotations.{Scope, Setup, State}
import spire.math.FastComplex
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import org.openjdk.jmh.annotations.{Scope, Setup, State}

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import org.openjdk.jmh.annotations.{Scope, Setup, State}

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import org.openjdk.jmh.annotations.{Scope, Setup, State}

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import java.util.concurrent.TimeUnit

Expand Down Expand Up @@ -144,4 +145,4 @@ class RationalCompareBenchmark {
def compare(x: Blackhole): Unit = {
x.consume(a compare b)
}
}
}
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import java.util.concurrent.TimeUnit

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import spire.benchmark.FixtureSupport

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark.jmh
package spire
package benchmark.jmh

import java.util.concurrent.TimeUnit

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

object BigIntRational {
val Zero = new BigIntRational(0, 1)
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

import scala.util.Random
import spire.macros.Checked
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

import com.google.caliper.Param

Expand Down
3 changes: 2 additions & 1 deletion benchmark/src/main/scala/spire/benchmark/LongRational.scala
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

import spire.implicits._

Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

import spire.algebra._
import spire.implicits._
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

import spire.implicits._
import spire.math.Rational
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

import scala.util.Random
import Random._
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark


import spire.implicits._
Expand Down
@@ -1,4 +1,5 @@
package spire.benchmark
package spire
package benchmark

import spire.math.prime._
import scala.util.{Success, Try}
Expand Down
Expand Up @@ -12,7 +12,8 @@
\************************************************************************/


package spire.benchmark
package spire
package benchmark

import spire.implicits._

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/algebra/Sign.scala
@@ -1,4 +1,5 @@
package spire.algebra
package spire
package algebra

/**
* A simple ADT representing the `Sign` of an object.
Expand Down
@@ -1,4 +1,5 @@
package spire.algebra
package spire
package algebra
package free

final class FreeGroup[A] private (val terms: Vector[Either[A, A]]) extends AnyVal { lhs =>
Expand Down
@@ -1,4 +1,5 @@
package spire.algebra
package spire
package algebra
package free

final class FreeMonoid[A] private (val terms: List[A]) extends AnyVal { lhs =>
Expand Down
@@ -1,4 +1,5 @@
package spire.algebra
package spire
package algebra
package partial

import spire.util.Opt
Expand Down
@@ -1,4 +1,5 @@
package spire.algebra
package spire
package algebra
package partial

import spire.util.Opt
Expand Down
@@ -1,4 +1,5 @@
package spire.algebra
package spire
package algebra
package partial

import spire.util.Opt
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/macros/Auto.scala
@@ -1,4 +1,5 @@
package spire.macros
package spire
package macros

import language.experimental.macros

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/macros/Macros.scala
@@ -1,4 +1,5 @@
package spire.macros
package spire
package macros

import spire.algebra.{Field, Ring}
import spire.macros.compat.Context
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/macros/fpf/Cmp.scala
@@ -1,4 +1,5 @@
package spire.macros.fpf
package spire
package macros.fpf

private[spire] sealed trait Cmp
private[spire] object Cmp {
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/macros/fpf/Fuser.scala
@@ -1,4 +1,5 @@
package spire.macros.fpf
package spire
package macros.fpf

import scala.language.experimental.macros

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/FpFilter.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import scala.language.experimental.macros

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/Interval.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import Predef.{any2stringadd => _, _}

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/Number.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import scala.math.{ScalaNumber, ScalaNumericConversions}
import java.lang.Math
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/NumberTag.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

object NumberTag {

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/ScalaWrappers.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import spire.algebra.{Eq, EuclideanRing, Field, PartialOrder, Order, Ring, Signed}

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/Trilean.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import spire.algebra.lattice.Heyting

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/UByte.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import spire.algebra.{IsIntegral, Order, Rig, Signed}

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/UInt.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import spire.algebra.{IsIntegral, Order, Rig, Signed}

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/UShort.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math

import spire.algebra.{IsIntegral, Order, Rig, Signed}

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/interval/Bound.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math
package interval

import spire.syntax.order._
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/poly/RootFinder.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math
package poly

import java.math.MathContext
Expand Down
@@ -1,4 +1,5 @@
package spire.math
package spire
package math
package poly

import spire.std.bigInt._
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/poly/Roots.scala
@@ -1,4 +1,5 @@
package spire.math
package spire
package math
package poly

import java.math.{ RoundingMode, MathContext }
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/prime/BitSet.scala
@@ -1,4 +1,5 @@
package spire.math.prime
package spire
package math.prime

import spire.syntax.cfor._

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/prime/FactorHeap.scala
@@ -1,4 +1,5 @@
package spire.math.prime
package spire
package math.prime

import SieveUtil._

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/prime/SieveUtil.scala
@@ -1,4 +1,5 @@
package spire.math.prime
package spire
package math.prime

import spire.math.SafeLong

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/math/prime/Siever.scala
@@ -1,4 +1,5 @@
package spire.math.prime
package spire
package math.prime

import spire.math.{SafeLong, log, max}

Expand Down
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import spire.algebra._
import spire.math.Interval
Expand Down
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import spire.algebra.{Order, PartialOrder}
import spire.math.{Interval, Point}
Expand Down
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import spire.algebra.{Order, PartialOrder}
import spire.math.Interval
Expand Down
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import scala.collection.SeqLike
import scala.collection.generic.CanBuildFrom
Expand Down
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import scala.collection.IterableLike
import scala.collection.generic.CanBuildFrom
Expand Down
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import spire.algebra.PartialOrder

Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/optional/rationalTrig.scala
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import spire.algebra.Trig
import spire.math.Rational
Expand Down
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/spire/optional/totalFloat.scala
@@ -1,4 +1,5 @@
package spire.optional
package spire
package optional

import java.lang.Math

Expand Down

0 comments on commit c621c1c

Please sign in to comment.