Christian Höner zu Siederdissen <choe...@tbi.univie.ac.at> writes:

>> 'slice' would select a substring of a sequence, delimited by the
>> offsets.  (Inclusive, I guess?)

> start + length
> vs.
> start + stop
> coordinates? Vector uses start + length.

Hm, yes. That is: please discuss!  My first thought was the latter, but
consistency and ease of use will be important.

I sometimes feel we really ought to differentiate the types of positions and
offsets, so that this would be safe and unambigous - but perhaps that
gets overly pedantic. :-)

-k
_______________________________________________
Biohaskell mailing list
Biohaskell@biohaskell.org
http://malde.org/cgi-bin/mailman/listinfo/biohaskell

Reply via email to