Created
February 23, 2021 04:00
-
-
Save pedrofurla/1ad748d7feb5247e32ec1f3e27aed2c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ> :t +v join @((->) Int) | |
join @((->) Int) | |
:: forall a. Monad ((->) Int) => (Int -> Int -> a) -> Int -> a |
λ> :set -XTypeApplications -fprint-explicit-foralls
λ> :t +v join
join :: forall (k :: * -> *) a. Monad k => k (k a) -> k a
Use case that sparked this:
λ> join (+) 5
10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Needs
:set -XTypeApplications -fprint-explicit-foralls