Why can't I return a concrete type in a function that has a polymorphic return type?
Why can't I return a concrete type in a function that has a polymorphic return type?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/7313027/harish-nair)Harish Nair |
(stackoverflow.com/users/67579/willem-van-onsem)Willem Van Onsem |
(stackoverflow.com/users/745903/leftaroundabout)leftaroundabout |
(stackoverflow.com/users/15207568/noughtmare)Noughtmare |
A special thanks goes out to the (https://stackoverflow.com/questions/75591157/why-cant-i-return-a-concrete-type-in-a-function-that-has-a-polymorphic-return-t)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
polymorphism haskell typeclass