Foldl.hascasl.output revision f8a1ab8012a1f36060d6ce9b63399fa4a8a2981c
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
. snoc nil x = snoc nil x
. head nil x = x;
%% 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'