Functor predicate

Description

Usage of predicate „functor”

Source: PROLOG str. 48 Wydawnictwo PLJ Warszawa 1991 ISBN 83-85190-63-5

Download

Program source code: functor_predicate.pl

Listing

test1 :- functor([a, b, c, d], F, N).
test2 :- functor(fakt, F, N).
test3 :- functor(X, osoba, 3).
test4 :- functor(1 + 5, F, N).

Comments

pl/prolog/pllib/functor_predicate.txt · ostatnio zmienione: 2019/06/27 15:50 (edycja zewnętrzna)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0