[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pure/impure?!?!
From: |
David Kastrup |
Subject: |
Re: pure/impure?!?! |
Date: |
Sun, 24 May 2015 22:27:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"Keith OHara" <address@hidden> writes:
> But I think we can remove the 'start'/'end' parameters from 'pure'
> functions for Items. Items have a 'pure' version of their functions
> as a way to promise that these functions *not* depend on
> line-breaking.
While this sort of sentence sends up all warning flags for me regarding
future use, it's not really a concern. For dynamic dependency tracking,
one needs to record accesses to start/end anyway. I was planning on
providing start/end via fluid-based setters/getters but if the current
code does not actually want them anyway, that makes the refactoring
easier.
--
David Kastrup