Update examples
This commit is contained in:
13
testsuite/pdynload/spj2/Plugin.hs
Normal file
13
testsuite/pdynload/spj2/Plugin.hs
Normal file
@ -0,0 +1,13 @@
|
||||
module Plugin where
|
||||
|
||||
-- user doesn't import the API
|
||||
-- and provides a polymorphic value
|
||||
|
||||
import API
|
||||
resource :: Interface
|
||||
|
||||
--
|
||||
-- should pass type check, and dump core
|
||||
--
|
||||
-- resource :: Num a => a
|
||||
resource = 7
|
Reference in New Issue
Block a user