Foldl.hascasl.output revision 96646aed2ae087b942ae23f15bbe729a8f7c43d3
var a : Type
type List(a : Type)
op nil : List a
op head : List a -> a
op snoc : List a -> a --> List a
forall x : a
. (fun __=__[List a] : forall a : Type . a * a ->? Unit)
((((op snoc[a] : forall a : Type . List a -> a --> List a)
(op nil[a] : forall a : Type . List a))
(var x : a),
((op snoc[a] : forall a : Type . List a -> a --> List a)
(op nil[a] : forall a : Type . List a))
(var x : a)))
. (fun __=__[a] : forall a : Type . a * a ->? Unit)
((((op head[a ->? a] : forall a : Type . List a -> a)
(op nil[a ->? a] : forall a : Type . List a))
(var x : a),
(var x : a)))
%% Type Constructors -----------------------------------------------------
? : +Type -> Type
List : Type -> Type
Logical : Type := ? Unit
Pred : -Type -> Type := \ a : -Type . a ->? Unit
Unit : Type
__*__ : +Type -> +Type -> Type
__*__*__ : +Type -> +Type -> +Type -> Type
__*__*__*__ : +Type -> +Type -> +Type -> +Type -> Type
__*__*__*__*__ : +Type -> +Type -> +Type -> +Type -> +Type -> Type
__-->__ : -Type -> +Type -> Type < (__-->?__, __->__)
__-->?__ : -Type -> +Type -> Type < __->?__
__->__ : -Type -> +Type -> Type < __->?__
__->?__ : -Type -> +Type -> Type
%% Type Variables --------------------------------------------------------
a : Type %(var_1)%
%% Assumptions -----------------------------------------------------------
__/\__ : ? Unit * ? Unit ->? Unit %(fun)%
__<=>__ : ? Unit * ? Unit ->? Unit %(fun)%
__=__ : forall a : Type . a * a ->? Unit %(fun)%
__=>__ : ? Unit * ? Unit ->? Unit %(fun)%
__=e=__ : forall a : Type . a * a ->? Unit %(fun)%
__\/__ : ? Unit * ? Unit ->? Unit %(fun)%
__if__ : ? Unit * ? Unit ->? Unit %(fun)%
__when__else__ : forall a : Type . a * ? Unit * a ->? a %(fun)%
bottom : forall a : Type . a %(fun)%
def__ : forall a : Type . a ->? Unit %(fun)%
false : Unit %(fun)%
head : forall a : Type . List a -> a %(op)%
nil : forall a : Type . List a %(op)%
not__ : ? Unit ->? Unit %(fun)%
snoc : forall a : Type . List a -> a --> List a %(op)%
true : Unit %(fun)%
�__ : ? Unit ->? Unit %(fun)%
%% Variables -------------------------------------------------------------
x : a
%% Sentences -------------------------------------------------------------
((snoc (nil)) x) = ((snoc (nil)) x)
((head (nil)) x) = x
%% Diagnostics -----------------------------------------------------------
*** Hint 1.5, is type variable 'a'
*** Hint 2.11, rebound type variable 'a'
*** Hint 6.9, not a class 'a'