-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding more HasCallStack
s
#494
Comments
Oh no, it was already discussed A LOT in the Haskell community (outside of the vector repository). Closing as the impact seems bigger than I expected. |
Could you provide links to discussions? Adding |
Thank you, I rushed. Let me share the links. Past PR: Compilation time, memory usage, runtime performance: Related: My notes:
|
I suggest adding more
HasCallStack
constraints.1. Missing
HasCallStack
constraintsSome functions in non-
Generic
modules are missingHasCallStack
constraints.Example:
VU.(!)
VU.(!)
does not haveHasCallStack
constraint and we don't get full trace:Example
The call stack does not contain
VU.(!)
call frommain
:VG.(!)
hasHasCallStack
constraint and we get a full trace:Example
The call stack contains
VG.(!)
call frommain
:2.
head
and moreI personally like to add
HasCallStack
to anywhere possible.For example, the
head
function does not haveHasCallStack
constraint. But the list'shead
function inbase
doesn't have it either. What do you think? Thank you.The text was updated successfully, but these errors were encountered: