summaryrefslogtreecommitdiff
path: root/test/files/presentation/callcc-interpreter.check
blob: 94a3d64d68dc35e2304cc680f2ba301859566457 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
reload: CallccInterpreter.scala

askTypeCompletion at CallccInterpreter.scala(51,34)
================================================================================
[response] askTypeCompletion at (51,34)
retrieved 66 members
abstract trait Term extends AnyRef
abstract trait Value extends AnyRef
case class Add extends callccInterpreter.Term with Product with Serializable
case class App extends callccInterpreter.Term with Product with Serializable
case class Ccc extends callccInterpreter.Term with Product with Serializable
case class Con extends callccInterpreter.Term with Product with Serializable
case class Fun extends callccInterpreter.Value with Product with Serializable
case class Lam extends callccInterpreter.Term with Product with Serializable
case class M[A] extends Product with Serializable
case class Num extends callccInterpreter.Value with Product with Serializable
case class Var extends callccInterpreter.Term with Product with Serializable
case object Wrong
def +(other: String): String
def ->[B](y: B): (callccInterpreter.type, B)
def add(a: callccInterpreter.Value,b: callccInterpreter.Value): callccInterpreter.M[_ >: callccInterpreter.Num with callccInterpreter.Wrong.type <: Product with Serializable with callccInterpreter.Value]
def apply(a: callccInterpreter.Value,b: callccInterpreter.Value): callccInterpreter.M[callccInterpreter.Value]
def callCC[A](h: (A => callccInterpreter.M[A]) => callccInterpreter.M[A]): callccInterpreter.M[A]
def ensuring(cond: Boolean): callccInterpreter.type
def ensuring(cond: Boolean,msg: => Any): callccInterpreter.type
def ensuring(cond: callccInterpreter.type => Boolean): callccInterpreter.type
def ensuring(cond: callccInterpreter.type => Boolean,msg: => Any): callccInterpreter.type
def equals(x$1: Any): Boolean
def formatted(fmtstr: String): String
def hashCode(): Int
def id[A]: A => A
def interp(t: callccInterpreter.Term,e: callccInterpreter.Environment): callccInterpreter.M[callccInterpreter.Value]
def lookup(x: callccInterpreter.Name,e: callccInterpreter.Environment): callccInterpreter.M[callccInterpreter.Value]
def main(args: Array[String]): Unit
def showM(m: callccInterpreter.M[callccInterpreter.Value]): String
def test(t: callccInterpreter.Term): String
def toString(): String
def unitM[A](a: A): callccInterpreter.M[A]
def →[B](y: B): (callccInterpreter.type, B)
final def !=(x$1: Any): Boolean
final def ##(): Int
final def ==(x$1: Any): Boolean
final def asInstanceOf[T0]: T0
final def eq(x$1: AnyRef): Boolean
final def isInstanceOf[T0]: Boolean
final def ne(x$1: AnyRef): Boolean
final def notify(): Unit
final def notifyAll(): Unit
final def synchronized[T0](x$1: T0): T0
final def wait(): Unit
final def wait(x$1: Long): Unit
final def wait(x$1: Long,x$2: Int): Unit
object Add
object App
object Ccc
object Con
object Fun
object Lam
object M
object Num
object Var
private[this] val term0: callccInterpreter.App
private[this] val term1: callccInterpreter.App
private[this] val term2: callccInterpreter.Add
protected[package lang] def clone(): Object
protected[package lang] def finalize(): Unit
type Answer = callccInterpreter.Answer
type Environment = callccInterpreter.Environment
type Name = callccInterpreter.Name
================================================================================

askType at CallccInterpreter.scala(14,21)
================================================================================
[response] askTypeAt (14,21)
def unitM[A](a: A): callccInterpreter.M[A] = callccInterpreter.this.M.apply[A](((c: A => callccInterpreter.Answer) => c.apply(a)))
================================================================================

askType at CallccInterpreter.scala(16,12)
================================================================================
[response] askTypeAt (16,12)
def id[A]: A => A = ((x: A) => x)
================================================================================

askType at CallccInterpreter.scala(17,25)
================================================================================
[response] askTypeAt (17,25)
def showM(m: callccInterpreter.M[callccInterpreter.Value]): String = m.in.apply(callccInterpreter.this.id[callccInterpreter.Value]).toString()
================================================================================

askType at CallccInterpreter.scala(50,30)
================================================================================
[response] askTypeAt (50,30)
def add(a: callccInterpreter.Value, b: callccInterpreter.Value): callccInterpreter.M[_ >: callccInterpreter.Num with callccInterpreter.Wrong.type <: Product with Serializable with callccInterpreter.Value] = scala.Tuple2.apply[callccInterpreter.Value, callccInterpreter.Value](a, b) match {
  case (_1: callccInterpreter.Value, _2: callccInterpreter.Value)(callccInterpreter.Value, callccInterpreter.Value)((n: Int)callccInterpreter.Num((m @ _)), (n: Int)callccInterpreter.Num((n @ _))) => this.unitM[callccInterpreter.Num](callccInterpreter.this.Num.apply(m.+(n)))
  case _ => callccInterpreter.this.unitM[callccInterpreter.Wrong.type](callccInterpreter.this.Wrong)
}
================================================================================