Language::Prolog::Types::Factory - Perl extension to construct Prolog types
use Language::Prolog::Types::Factory; print prolog_functor("hello",2,3,4); print prolog_list(3,4,5); etc.
Factory module for Prolog terms.
Implements a pluggable interface that lets the constructor functions be changed to use different implementations for the actual prolog terms.
This module should be rarely used, only when interfacing Perl with a different Prolog system if the default representations for Prolog terms are not adecuate.
This module implements a set of constructor functions for Prolog terms.
Internally the module use a factory object implementing
new_variable. Look at Language::Prolog::Types::Internal for a real implementation of the factory interface.
There is also some intelligency added to the consructors to automatically promote types to others more adecuate. i.e. a '.'/2 functor to a list or  to nil.
Constructor functions are reexported from Language::Prolog::Types and you should use that module instead of this one.
returns nil term.
returns a prolog list containing terms <@terms>.
returns an unfinished list with terms
@terms and tail
returns a functor with name
$name and arguments
return a new varaible with name
Is not a contructor but converts any perl construct
$atom to an atom.
returns a prolog list formed by the ASCII values of
Salvador Fandiño, <firstname.lastname@example.org>
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.