Foldl.hascasl.output revision f905b9891657dd3eb454d98df87bb0d0cc3796d6
var a : Type
type List a
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'