Foldl.hascasl.output revision 5581c4644d91dcb9b7e2e7f6052f7cbf5f97b6de
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'