packages feed

purescript-0.5.6: examples/failing/InstanceExport.purs

module InstanceExport (S(..), f) where

newtype S = S String

class F a where
  f :: a -> String

instance fs :: F S where
  f (S s) = s

module Test where

import InstanceExport

test = f $ S "Test"