packages feed

purescript-0.7.2.0: examples/passing/LetInInstance.purs

module Main where

import Prelude

class Foo a where
  foo :: a -> String

instance fooString :: Foo String where
  foo = go
    where
    go :: String -> String
    go s = s

main = Control.Monad.Eff.Console.log "Done"