@MangoIV raised a proposal to add Prelude.todo :: a
which is undefined
is disguise with a custom warning attached: {-# WARNING in "x-todo" todo "todo remains in code" #-}
.
Judging from the number of upvotes, the proposal addresses an important pain point, yet comments express certain reluctance to extend Prelude
. Are we missing any alternatives? Is the balance of pros and cons assessed correctly? I feel that the discussion can benefit from comments and opinions of a wider audience.
I’m raising this topic here to increase visibility, but please comment at Add the `todo` function · Issue #260 · haskell/core-libraries-committee · GitHub if you can.