|
|
|
|
|
by one-punch
1012 days ago
|
|
(Can't resist this one line rebuttal) > So your solution is to rewrite the haskell standard library yourself? No need--the simplest solution is to pass flags correctly to the dependent library (set all flags BoundsChecks, UnsafeChecks, and InternalChecks to false for the vector package) for release builds. Explanation after the one-line rebuttal: This exactly matches the C++ behavior: no bound checks for release builds, but with bounds checks for debug builds. This shows that Haskell can do what C++ can do, very easily, just by passing compiler/cabal/stack flags correctly. With this rebuttal, I think the issue is completely settled, at least for reasonable readers. |
|
If performance is an issue, why not just do this instead of dealing with "Liquid Types".
And with this rebuttal, the issue is now settled for all readers and even those differently abled that are using voice readers.