For-loops in Logic Programming
Abstract
Logic programming has traditiLogic programming has traditionally lacked devices for expressing iterative tasks. To overcome this problem, this paper proposes iterative goal formulas of the form where is a goal, is a variable, and is a list. is called a parallel bounded quantifier. These goals allow us to specify the following task: iterate with ranging over all the elements of . onally lacked devices for expressing iterative tasks. To overcome this problem, this paper proposes iterative goal formulas of the form where is a goal, is a variable, and is a list. is called a parallel bounded quantifier. These goals allow us to specify the following task: iterate with ranging over all the elements of .
Cite
@article{arxiv.1606.04240,
title = {For-loops in Logic Programming},
author = {Keehang Kwon},
journal= {arXiv preprint arXiv:1606.04240},
year = {2016}
}
Comments
5 pages. slightly revised from my previous Korean paper (KIPS transactions, part A, vol 19, no.1, 2012.)