Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
paf31 committed Nov 7, 2015
1 parent 0d7c8f0 commit 79e7a09
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/passing/1335.purs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module Main where

import Prelude
import Control.Monad.Eff.Console (log)

x :: forall a. a -> String
x a = y "Done"
where
y :: forall a. (Show a) => a -> String
y a = show (a :: a)

main = log (x 0)

0 comments on commit 79e7a09

Please sign in to comment.