Last active
February 20, 2020 04:55
-
-
Save bradparker/751bd60db51ec09598fe63a5fcbef885 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{-# LANGUAGE RankNTypes #-} | |
-- Prelude> :set -XTypeApplications | |
-- Prelude> :t id | |
-- id :: a -> a | |
-- Prelude> :t const | |
-- const :: a -> b -> a | |
-- Prelude> :t (<*>) @((->) _) | |
-- (<*>) @((->) _) :: (w -> a -> b) -> (w -> a) -> w -> b | |
type I = forall a. a -> a | |
type K = forall a b. a -> b -> a | |
type S = forall a b c. (a -> b -> c) -> (a -> b) -> a -> c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment