Foldl.hascasl.output revision 2f2237571ed7885b0f1ccb2c17996e8922f3d12d
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
. (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)
. (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 -----------------------------------------------------
List : Type -> Type
%% Type Variables --------------------------------------------------------
a : Type %(var_1)%
%% Assumptions -----------------------------------------------------------
head : forall a : Type . List a -> a %(op)%
nil : forall a : Type . List a %(op)%
snoc : forall a : Type . List a -> a --> List a %(op)%
%% 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'