> On Dec 9, 2016, at 10:23, Matthew Butterick <[email protected]> wrote: > > 2) Relatedly: is the field ordering used by the `srcloc` struct — line > / column / position / span — recommended for other interfaces to > follow, or considered arbitrary?
IMO, I would say “just use the srcloc struct” if you need srclocs, don’t mess around with functions that accept 5 additional arguments. That’s what I did in megaparsack, and it produces a much cleaner interface, especially since they’re much easier to functionally update if you want that sort of thing. -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/61DBDAF6-0E58-4FDA-B689-217F1DA0252A%40gmail.com. For more options, visit https://groups.google.com/d/optout.
