git.iko.soy/rowtype-yoga/purescript-native
on 24fdff2 help sign in
14 lines 220 B history raw
1module Main where
3import Prelude
5class Foo a where
6 foo :: a -> String
8instance fooString :: Foo String where
9 foo = go
10 where
11 go :: String -> String
12 go s = s
14main = Control.Monad.Eff.Console.log "Done"