diff --git a/lib/transducers.gd b/lib/transducers.gd index 61cfadd..668e959 100644 --- a/lib/transducers.gd +++ b/lib/transducers.gd @@ -44,7 +44,7 @@ DeclareGlobalFunction( "TransposedTransducer" ); ## #V HashPair ## -DeclareGlobalVariable("HashPair"); +DeclareGlobalFunction("HashPair"); ############################################################################# ## diff --git a/lib/transducers.gi b/lib/transducers.gi index ae83e60..ad5fa36 100644 --- a/lib/transducers.gi +++ b/lib/transducers.gi @@ -69,7 +69,7 @@ end ); ## #V HashPair ## -InstallValue(HashPair, s->HashKeyBag(s,57,0,12)); +InstallGlobalFunction(HashPair, s->HashKeyBag(s,57,0,12)); ############################################################################# ##