Skip to content

Instantly share code, notes, and snippets.

@bergmark
Created September 26, 2013 11:04
Show Gist options
  • Select an option

  • Save bergmark/6712700 to your computer and use it in GitHub Desktop.

Select an option

Save bergmark/6712700 to your computer and use it in GitHub Desktop.
module Foo
( module Control.Applicative
, g
) where
import Control.Applicative
g :: Int
g = 1
module Main where
import Foo
import Control.Applicative
main :: IO ()
main = print =<< ((+2) <$> return g)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment