Nicholas Ingolia <n...@ingolia.org> writes:

> I'm pretty strongly in favor of 0-based indexing,
  [...]
> If you're committed to 1-based indices, 

Three votes for zero so far, and I'm not very committed, so I guess zero
it is. But

> we could exploit the newtype wrapper around Offset to provide an
> interface with 1-based offsets.

this line of thought is interesting, I think.  Perhaps we can supply an
Offset1 newtype as well for use with 1-based data formats?  Probably
only internally, so that e.g. a SeqLoc will always use zero-based
offsets. 

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Biohaskell mailing list
Biohaskell@biohaskell.org
http://malde.org/cgi-bin/mailman/listinfo/biohaskell

Reply via email to