ndmitchell / debug

Haskell library for debugging
BSD 3-Clause "New" or "Revised" License
122 stars 7 forks source link

Doesn’t work on polymorphic monadic functions #6

Closed ndmitchell closed 6 years ago

ndmitchell commented 6 years ago

See Reddit thread: https://www.reddit.com/r/haskell/comments/7kjf5g/comment/drezi6y?st=JBC6E667&sh=8237f589

ndmitchell commented 6 years ago

Turns out for a variable that hasn't yet been spliced you can't ask for its type, so I instead make a wild guess based on a dodgy heuristic. Let's see how far that gets us...