Created
July 7, 2015 01:26
-
-
Save thsutton/8d659fefc7f805774eea to your computer and use it in GitHub Desktop.
HLint can't parse type application in a list
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 DataKinds #-} | |
{-# LANGUAGE KindSignatures #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
module Foo where | |
import GHC.TypeLits | |
data Header (sym :: Symbol) (val :: Symbol) | |
type Foo = '[Header "X-Forwarded-For" "Satan"] |
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 DataKinds #-} | |
{-# LANGUAGE KindSignatures #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
module Foo where | |
import GHC.TypeLits | |
data Header (sym :: Symbol) (val :: Symbol) | |
type AHeader = Header "X-Forwarded-For" "Satan" | |
type Foo = '[AHeader] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment