Salvador Fandiño García > Language-Prolog-Types-0.10 > Language::Prolog::Types::overload

Download:
Language-Prolog-Types-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

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

SYNOPSIS ^

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

ABSTRACT ^

This module activates overloading features for Prolog terms.

DESCRIPTION ^

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.

EXPORT

None by default.

SEE ALSO ^

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

AUTHOR ^

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

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: