aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/scala/org/perl8/test/package.scala
blob: 75c661c5912ac98293ed671a4a183c4b52a92a9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.perl8

package object test {
  import language.implicitConversions

  implicit def intToPlan (p: Int): Plan =
    NumericPlan(p)

  implicit def stringToMessage (s: String): Utils.Message =
    new Utils.HasMessage(s)

  type Plan        = Utils.Plan
  type NumericPlan = Utils.NumericPlan
  val NumericPlan  = Utils.NumericPlan
  type SkipAll     = Utils.SkipAll
  val SkipAll      = Utils.SkipAll

  type BailOutException = Utils.BailOutException
}