#############################################################################
##
#W  read.g                   GAP package `kan'                  Chris Wensley
##                                                            & Anne Heyworth
##  @(#)$Id: read.g,v 0.94 2006/06/02 gap Exp $
##

##  read the actual code

ReadPackage( "kan", "gap/dcrws.gi" ); 
ReadPackage( "kan", "gap/kbrws.gi" ); 
ReadPackage( "kan", "gap/automata.gi" ); 
RereadPackage( "kan", "gap/kbsemi2.gi" ); 

KBMAG_IS_LOADED := not( LoadPackage( "kbmag" ) = fail );
if KBMAG_IS_LOADED then
  ReadPackage( "kan", "gap/dckbmag.gi" );
else
  Info( InfoWarning, 1, 
    "Package ``kbmag'' is not loaded, so some Kan functions are unavailable" );
fi;
