# New PIP proposals

**URL:** https://discourse.prolog-lang.org/c/improvements-forum/pip-proposals/19.md

[Latest](https://discourse.prolog-lang.org/latest.md) · [Categories](https://discourse.prolog-lang.org/categories.md) · [Tags](https://discourse.prolog-lang.org/tags.md)

---

## [About the New PIP proposals category](https://discourse.prolog-lang.org/t/about-the-new-pip-proposals-category/88)

<div class="topic-metadata">

**Author:** [@herme](https://discourse.prolog-lang.org/u/herme)\
**Replies:** 0\
**Last updated:** [September 26, 2024, 6:40pm UTC](https://discourse.prolog-lang.org/t/about-the-new-pip-proposals-category/88 "2024-09-26T18:40:18Z")

</div>

Proposals and discussion of new PIPs Use this subcategory to propose and initiate the discussion of a new PIP. To do so, create a new topic with a descriptive title of the PIP and post your proposal.

---

## [Format/2-3 and term write depth](https://discourse.prolog-lang.org/t/format-2-3-and-term-write-depth/106)

<div class="topic-metadata">

**Author:** [@pmoura](https://discourse.prolog-lang.org/u/pmoura)\
**Replies:** 10\
**Last updated:** [December 5, 2024, 2:49pm UTC](https://discourse.prolog-lang.org/t/format-2-3-and-term-write-depth/106 "2024-12-05T14:49:35Z")

</div>

From Permion’s XVM Prolog implementation. We extended the format/2-3 predicates to allow specifying the term write depth. This extension is compatible with the de facto standard definition of these predicates. From the …

---

## [Max\_arity limits](https://discourse.prolog-lang.org/t/max-arity-limits/121)

<div class="topic-metadata">

**Author:** [@jfmc](https://discourse.prolog-lang.org/u/jfmc)\
**Replies:** 5\
**Last updated:** [November 24, 2024, 5:58pm UTC](https://discourse.prolog-lang.org/t/max-arity-limits/121 "2024-11-24T17:58:04Z")

</div>

Hi all. Looking at portability - The smallest \`max\_arity\` of compound terms in ISO Prolog programs - Stack Overflow I found an interesting comment: There is a gap somehow. max\_arity only covers the compound size. But t…

---

## [Handling exceptions based on predicate based classification](https://discourse.prolog-lang.org/t/handling-exceptions-based-on-predicate-based-classification/91)

<div class="topic-metadata">

**Author:** [@JanWielemaker](https://discourse.prolog-lang.org/u/JanWielemaker)\
**Replies:** 0\
**Last updated:** [October 6, 2024, 2:48pm UTC](https://discourse.prolog-lang.org/t/handling-exceptions-based-on-predicate-based-classification/91 "2024-10-06T14:48:50Z")

</div>

Somewhat related to Using exceptions for "getting out", and after a remark by @jfm, I came up with a library that in my view solves most of the pressing issues with exceptions. \[@jfmc , could you allow for .pl files as …

---

## [Using exceptions for "getting out"](https://discourse.prolog-lang.org/t/using-exceptions-for-getting-out/89)

<div class="topic-metadata">

**Author:** [@JanWielemaker](https://discourse.prolog-lang.org/u/JanWielemaker)\
**Replies:** 2\
**Last updated:** [October 2, 2024, 6:56am UTC](https://discourse.prolog-lang.org/t/using-exceptions-for-getting-out/89 "2024-10-02T06:56:43Z")

</div>

ISO defines exceptions to have the shape error(Formal, ImplDefined). Users can throw any term using throw/1, except for a variable. In the good old days, before threads, SWI-Prolog implemented e.g., abort/0 by simply …
