Haskell Platform proposal: Add the vector package
rl at cse.unsw.edu.au
Mon Jul 16 12:01:00 CEST 2012
Thomas Schilling wrote:
> To be fair, regardless of SH, I'd consider it good API design to put
> unsafe things into a separate module.
I'll ask again: why is putting unsafe* functions into a separate module
preferable to just following the unsafe* naming convention? I'm honestly
interested in an answer - it seems to me that for someone who doesn't want
to use unsafe functions, the two approaches are essentially equivalent and
for someone who does, a separate module is more cumbersome.
> I'd be interested to know what
> exactly the problem is with moving these functions into a separate
> module. If the only argument for not making this change is to avoid
> breaking the API then we should do it *before* including vector into
> the platform.
I tried to explain the problems elsewhere in the thread.
More information about the Libraries