
Language::Prolog::Types::overload - nice formating for Prolog terms.

use Language::Prolog::Types::overload;

This module activates overloading features for Prolog terms.

When this module is loaded, Prolog terms are automatically converted to strings when printed or concatenated.
When used in bool context, all terms but variables return true, even the nil term.
In numerical context, functors return its arity and lists its length.
None by default.

Language::Prolog::Types and Language::Prolog::Types::Abstract

Salvador Fandiño, <sfandino@yahoo.com>

Copyright 2002 by Salvador Fandiño
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.