Update examples
This commit is contained in:
12
testsuite/unloadAll/null/Null.hs
Normal file
12
testsuite/unloadAll/null/Null.hs
Normal file
@ -0,0 +1,12 @@
|
||||
module Null ( resource ) where
|
||||
|
||||
import API
|
||||
import Data.Dynamic
|
||||
import Prelude hiding (null)
|
||||
import qualified Dep
|
||||
|
||||
resource = Dep.resource
|
||||
|
||||
-- ! this has to be special: it can't be overridden by the user.
|
||||
resource_dyn :: Dynamic
|
||||
resource_dyn = toDyn resource
|
Reference in New Issue
Block a user