git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1542 from aspidites/fix-warnings

Added a type signatue to main.

commit9c5edb36c479d1970d4f9570905df3a9da12b77d authorPhil Freeman <paf31@cantab.net> dateTue 20 Oct 2015, 12:06 (11 years ago) parent6d1aa3380b7684
1 file changed+3
core-tests/tests/generic-deriving/Main.purs+3
core-tests/tests/generic-deriving/Main.purs+3
@@ -2,6 +2,8 @@ module GenericDeriving where
22
33import Prelude
44
5+import Control.Monad.Eff (Eff())
6+import Control.Monad.Eff.Console (CONSOLE())
57import Data.Generic
68
79data Void
@@ -17,4 +19,5 @@ data A a
1719
1820derive instance genericA :: (Generic a) => Generic (A a)
1921
22+main :: forall eff. Eff (console :: CONSOLE | eff) Unit
2023main = Control.Monad.Eff.Console.log (gShow (D { a: C [ A 1.0 "test", B 42, D { a: true } ] }))